From: Stefano Babic Date: Thu, 15 Mar 2012 04:01:43 +0000 (+0000) Subject: SPL: call cleanup_before_linux() before booting Linux X-Git-Tag: v2012.04-rc1~19^2~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53c4492c0b036d73aaa99f2496bf3fcb36448e6c;p=u-boot SPL: call cleanup_before_linux() before booting Linux Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 963acb0776..0f2e0a2d27 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -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