Skip to content
Snippets Groups Projects
Commit 53c4492c authored by Stefano Babic's avatar Stefano Babic Committed by Albert ARIBAUD
Browse files

SPL: call cleanup_before_linux() before booting Linux


Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
CC: Tom Rini <tom.rini@gmail.com>
CC: Wolfgang Denk <wd@denx.de>
CC: Simon Schwarz <simonschwarzcor@gmail.com>
parent da521387
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ static void __noreturn jump_to_image_linux(void *arg) ...@@ -124,7 +124,7 @@ static void __noreturn jump_to_image_linux(void *arg)
__attribute__ ((noreturn)); __attribute__ ((noreturn));
image_entry_arg_t image_entry = image_entry_arg_t image_entry =
(image_entry_arg_t) spl_image.entry_point; (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); image_entry(0, CONFIG_MACH_TYPE, arg);
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment