]> git.ipfire.org Git - people/ms/u-boot.git/commit
am33xx: Remove serial_init in s_init for QSPI/NOR XIP boot
authorVignesh R <vigneshr@ti.com>
Fri, 20 Nov 2015 10:37:41 +0000 (16:07 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 23 Nov 2015 16:01:53 +0000 (11:01 -0500)
commit71cbed31f4f123708b8b3397cb166155c4a71f66
tree18da8a5487411b8f0ee0977e665e896baec9d0e7
parent54d68e9333ff65d135faac68fa01be4276f1371f
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>
arch/arm/cpu/armv7/am33xx/board.c