]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
SPL: call cleanup_before_linux() before booting Linux
authorStefano Babic <sbabic@denx.de>
Thu, 15 Mar 2012 04:01:43 +0000 (04:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 27 Mar 2012 20:05:29 +0000 (22:05 +0200)
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>
arch/arm/cpu/armv7/omap-common/spl.c

index 963acb077611760a9e63b34e096f0ef39d444317..0f2e0a2d27fdc588cbdb89a89951950693cf8882 100644 (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