[U-Boot] [UBOOT][PATCH 0/3] am43xx: add xip support for ti qspi
Sourav Poddar
sourav.poddar at ti.com
Mon May 5 15:53:57 CEST 2014
This add support for am43xx qspi XIP boot. In this mode, we will
use only u-boot.bin.
This patch series is tested with a small hack change-
===================================================================
--- u-boot.orig/drivers/i2c/i2c_core.c 2014-05-05 16:14:08.305216507 +0530
+++ u-boot/drivers/i2c/i2c_core.c 2014-05-05 18:36:34.837855777 +0530
@@ -258,6 +258,7 @@
*/
unsigned int i2c_get_bus_num(void)
{
+ gd->cur_i2c_bus = 0;
return gd->cur_i2c_bus;
}
We need to do this, beacuse global data("gd") gets populated in _main api
which gets called after s_init. In s_init, we do a i2c_init for which we access
a "gd->cur_bus_num", but since gd is not
initilaised, so I get a data abort here.
Sourav Poddar (2):
am43xx_evm: Add qspi and qspiboot targets
ti: qspi: Notify core to use quad command.
Tom Rini (1):
am33xx: Rework #ifdef's around s_init for clarity
arch/arm/cpu/armv7/am33xx/board.c | 12 ++++++------
arch/arm/cpu/armv7/am33xx/emif4.c | 3 ++-
board/ti/am43xx/Makefile | 2 +-
board/ti/am43xx/board.c | 2 +-
board/ti/am43xx/mux.c | 4 ++++
boards.cfg | 3 +++
drivers/spi/ti_qspi.c | 1 +
include/configs/am43xx_evm.h | 39 ++++++++++++++++++++++++++-----------
include/configs/ti_armv7_common.h | 2 +-
9 files changed, 47 insertions(+), 21 deletions(-)
--
1.7.9.5
More information about the U-Boot
mailing list