summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/spl.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-12-03 12:39:45 +0100
committerStefan Roese <sr@denx.de>2016-01-14 14:08:59 +0100
commitf4e6ec7dc6fcfbad7742c27752262f38844683a2 (patch)
treea42ce5992a2dbb95d7fa7812e9fb50bd83f6bc6a /arch/arm/mach-mvebu/spl.c
parentf0e8173a381a947e7a7d2078a50f6b5a6fc6d8c8 (diff)
downloadu-boot-imx-f4e6ec7dc6fcfbad7742c27752262f38844683a2.zip
u-boot-imx-f4e6ec7dc6fcfbad7742c27752262f38844683a2.tar.gz
u-boot-imx-f4e6ec7dc6fcfbad7742c27752262f38844683a2.tar.bz2
arm: mvebu: Don't call arch_cpu_init() from SPL at all
This patch removes the call to arch_cpu_init() in the SPL U-Boot version. As SPL does not need all the configuration done in this function. And also does not need the reconfiguration of the internal register address to 0xf1000000. This will be done by the main U-Boot later on. This also fixes a problem with the timer not beeing initialized on AXP, as needed for the mdelay in the setup_usb_phys(). This will now only be called once in main U-Boot. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/spl.c')
-rw-r--r--arch/arm/mach-mvebu/spl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index 4eeef2d..832df0a 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -36,19 +36,6 @@ void board_init_f(ulong dummy)
{
int ret;
-#ifndef CONFIG_MVEBU_BOOTROM_UARTBOOT
- /*
- * Only call arch_cpu_init() when not returning to the
- * Marvell BootROM, which is done when booting via
- * the xmodem protocol (kwboot tool). Otherwise the
- * internal register will get remapped and the BootROM
- * can't continue to run correctly.
- */
-
- /* Linux expects the internal registers to be at 0xf1000000 */
- arch_cpu_init();
-#endif
-
/*
* Pin muxing needs to be done before UART output, since
* on A38x the UART pins need some re-muxing for output