SPL: call cleanup_before_linux() before booting Linux

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Tom Rini <tom.rini@gmail.com>
CC: Wolfgang Denk <wd@denx.de>
CC: Simon Schwarz <simonschwarzcor@gmail.com>
This commit is contained in:
Stefano Babic 2012-03-15 04:01:43 +00:00 committed by Albert ARIBAUD
parent da521387a4
commit 53c4492c0b

View File

@ -124,7 +124,7 @@ static void __noreturn jump_to_image_linux(void *arg)
__attribute__ ((noreturn));
image_entry_arg_t image_entry =
(image_entry_arg_t) spl_image.entry_point;
/* cleanup_before_linux(); */ /*write SPL function for that*/
cleanup_before_linux();
image_entry(0, CONFIG_MACH_TYPE, arg);
}
#endif