Commit 71cbed31 authored by Vignesh R's avatar Vignesh R Committed by Tom Rini

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: default avatarVignesh R <>
Reviewed-by: default avatarSimon Glass <>
parent 54d68e93
......@@ -273,12 +273,6 @@ void s_init(void)
#if defined(CONFIG_NOR_BOOT) || defined(CONFIG_QSPI_BOOT)
/* TODO: This does not work, gd is not available yet */
gd->baudrate = CONFIG_BAUDRATE;
gd->have_console = 1;
/* Enable RTC32K clock */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment