diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-24 10:18:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-27 19:30:04 +0200 |
commit | 47940bbe44846549631389bdf21d4c4bb5dccc8b (patch) | |
tree | f00cce78e3a840991cf8e54b065976073aff9266 /arch/arm/mach-omap/omap3_core.S | |
parent | 3b455c441aabe811a3056341e4f7b02a90aa1724 (diff) | |
download | barebox-47940bbe44846549631389bdf21d4c4bb5dccc8b.tar.gz barebox-47940bbe44846549631389bdf21d4c4bb5dccc8b.tar.xz |
ARM OMAP3: rename arch_init_lowlevel to board_init_lowlevel
OMAP3 is the only architecture which has a arch_init_lowlevel in
which it invalidates the dcache. This can easily be done in
board_init_lowlevel aswell. Since on OMAP3 we are always executed
in SRAM we'll never need a board specific lowlevel_init. So the
easiest way of getting rid of this special handling is to just
rename the function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap/omap3_core.S')
-rw-r--r-- | arch/arm/mach-omap/omap3_core.S | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-omap/omap3_core.S b/arch/arm/mach-omap/omap3_core.S index 6a9f44f54c..d1be6e542b 100644 --- a/arch/arm/mach-omap/omap3_core.S +++ b/arch/arm/mach-omap/omap3_core.S @@ -12,7 +12,6 @@ * functions. * @li Call architecture initialization function a_init * - * arch_init_lowlevel is enabled if CONFIG_ARCH_HAS_LOWLEVEL_INIT is defined */ /* * (C) Copyright 2006-2008 @@ -42,8 +41,7 @@ #include <mach/wdt.h> #include <mach/clocks.h> -#ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT -ENTRY(arch_init_lowlevel) +ENTRY(board_init_lowlevel) /* Invalidate all Dcaches */ #ifndef CONFIG_CPU_V7_DCACHE_SKIP /* If Arch specific ROM code SMI handling does not exist */ @@ -93,6 +91,4 @@ finished_inval: #endif /* CONFIG_CPU_V7_DCACHE_SKIP */ /* back to arch calling code */ mov pc, lr -ENDPROC(arch_init_lowlevel) - -#endif /* CONFIG_ARCH_HAS_LOWLEVEL_INIT */ +ENDPROC(board_init_lowlevel) |