diff options
Diffstat (limited to 'arch/arm/mach-omap/omap3_core.S')
-rw-r--r-- | arch/arm/mach-omap/omap3_core.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-omap/omap3_core.S b/arch/arm/mach-omap/omap3_core.S index d1be6e542b..7c31e1e924 100644 --- a/arch/arm/mach-omap/omap3_core.S +++ b/arch/arm/mach-omap/omap3_core.S @@ -40,8 +40,10 @@ #include <mach/silicon.h> #include <mach/wdt.h> #include <mach/clocks.h> +#include <asm/barebox-arm-head.h> -ENTRY(board_init_lowlevel) +#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT +ENTRY(reset) /* Invalidate all Dcaches */ #ifndef CONFIG_CPU_V7_DCACHE_SKIP /* If Arch specific ROM code SMI handling does not exist */ @@ -90,5 +92,6 @@ finished_inval: isb #endif /* CONFIG_CPU_V7_DCACHE_SKIP */ /* back to arch calling code */ - mov pc, lr -ENDPROC(board_init_lowlevel) + b board_init_lowlevel_return +ENDPROC(reset) +#endif |