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:
parent
da521387a4
commit
53c4492c0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user