From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vignesh R Date: Tue, 10 Nov 2015 14:29:54 +0530 Subject: [U-Boot] QSPI XIP boot on am437x Message-ID: <5641B20A.4080207@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, With commit 7ae8350f67eea("ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK") QSPI XIP boot appears to be broken on AM437x SK EVM. Following UART initialization code (as indicated by TODO) causes the XIP boot failure. In arch/arm/cpu/armv7/am33xx/board.c: @@ -275,9 +275,9 @@ 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; serial_init(); gd->have_console = 1; #endif I was able to boot successfully from QSPI by commenting out the above code. But, could you suggest me what needs to be done as part of TODO in order to get QSPI XIP boot working? Thanks! -- Regards Vignesh