summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2015-11-20 16:07:41 +0530
committerTom Rini <trini@konsulko.com>2015-11-23 11:01:53 -0500
commit71cbed31f4f123708b8b3397cb166155c4a71f66 (patch)
tree18da8a5487411b8f0ee0977e665e896baec9d0e7 /arch/arm
parent54d68e9333ff65d135faac68fa01be4276f1371f (diff)
downloadu-boot-imx-71cbed31f4f123708b8b3397cb166155c4a71f66.zip
u-boot-imx-71cbed31f4f123708b8b3397cb166155c4a71f66.tar.gz
u-boot-imx-71cbed31f4f123708b8b3397cb166155c4a71f66.tar.bz2
am33xx: Remove serial_init in s_init for QSPI/NOR XIP boot
serial_init() reads global_data, since global_data is not yet initialized, this can cause unwanted behaviour leading to QSPI XIP boot hang. Also, since serial_init() is anyways called later from boar_init_f(), it does not make sense to do the same in s_init(). Tested on AM437x IDK EVM with QSPI XIP boot. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/am33xx/board.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/board.c b/arch/arm/cpu/armv7/am33xx/board.c
index bd14326..1633ddc 100644
--- a/arch/arm/cpu/armv7/am33xx/board.c
+++ b/arch/arm/cpu/armv7/am33xx/board.c
@@ -273,12 +273,6 @@ void s_init(void)
set_uart_mux_conf();
setup_clocks_for_console();
uart_soft_reset();
-#if defined(CONFIG_NOR_BOOT) || defined(CONFIG_QSPI_BOOT)
- /* TODO: This does not work, gd is not available yet */
- gd->baudrate = CONFIG_BAUDRATE;
- serial_init();
- gd->have_console = 1;
-#endif
#if defined(CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC)
/* Enable RTC32K clock */
rtc32k_enable();