summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common/spl.c
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-03-15 04:01:43 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-27 22:05:29 +0200
commit53c4492c0b036d73aaa99f2496bf3fcb36448e6c (patch)
tree33f3cde2832ae89a08626d59e7874970c2b5c23d /arch/arm/cpu/armv7/omap-common/spl.c
parentda521387a4bde11f83b1f5b79bba0b0c30c7e5d9 (diff)
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>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/spl.c')
-rw-r--r--arch/arm/cpu/armv7/omap-common/spl.c2
1 files changed, 1 insertions, 1 deletions
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