[U-Boot] [PATCH V11 12/13] SPL: call cleanup_before_linux() before booting Linux

Stefano Babic sbabic at denx.de
Fri Dec 16 16:37:12 CET 2011


Signed-off-by: Stefano Babic <sbabic at denx.de>
CC: Tom Rini <tom.rini at gmail.com>
CC: Wolfgang Denk <wd at denx.de>
CC: Simon Schwarz <simonschwarzcor at gmail.com>
---
 common/spl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/spl.c b/common/spl.c
index 5fdf3fb..cf5395e 100644
--- a/common/spl.c
+++ b/common/spl.c
@@ -125,7 +125,7 @@ __noreturn void 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
-- 
1.7.5.4



More information about the U-Boot mailing list