[U-Boot] [PATCH 0/7] Add SD boot support for LS1021AQDS/TWR board

Alison Wang
2014-09-18T05:47:12Z

This series contain SD boot support for LS1021AQDS/TWR board. SPL
framework is used. PBL initialize the internal RAM and copy SPL to
it, then SPL initialize DDR using SPD and copy u-boot from SD card
to DDR, finally SPL transfer control to u-boot.

----------------------------------------------------------------
Alison Wang (7):
spl: pbl: Add new SPL image for pblimage tool
ls102xa: pblimage: Add pblimage tool support for LS102xA
spl: Use u-boot.img instead of u-boot.bin when CONFIG_SPL_PBL_PAD is enabled
ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro
common: spl: Add interactive DDR debugger support for SPL
arm: ls102xa: Add SD boot support for LS1021AQDS board
arm: ls102xa: Add SD boot support for LS1021ATWR board

Makefile | 21 +++++++++++++++++++--
arch/arm/cpu/armv7/ls102xa/Makefile | 1 +
arch/arm/cpu/armv7/ls102xa/spl.c | 35 +++++++++++++++++++++++++++++++++++
arch/arm/cpu/armv7/ls102xa/u-boot-spl.lds | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/include/asm/arch-ls102xa/spl.h | 20 ++++++++++++++++++++
board/freescale/common/qixis.h | 7 +++++++
board/freescale/ls1021aqds/MAINTAINERS | 1 +
board/freescale/ls1021aqds/ddr.c | 5 ++++-
board/freescale/ls1021aqds/ls1021aqds.c | 31 +++++++++++++++++++++++++++++++
board/freescale/ls1021aqds/ls102xa_pbi.cfg | 8 ++++++++
board/freescale/ls1021aqds/ls102xa_rcw_sd.cfg | 14 ++++++++++++++
board/freescale/ls1021atwr/MAINTAINERS | 1 +
board/freescale/ls1021atwr/ls1021atwr.c | 31 ++++++++++++++++++++++++++++++-
board/freescale/ls1021atwr/ls102xa_pbi.cfg | 13 +++++++++++++
board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg | 14 ++++++++++++++
common/Makefile | 19 ++++++++++---------
configs/ls1021aqds_sdcard_defconfig | 4 ++++
configs/ls1021atwr_sdcard_defconfig | 4 ++++
include/configs/ls1021aqds.h | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/configs/ls1021atwr.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/pblimage.c | 20 ++++++++++++++++----
21 files changed, 440 insertions(+), 17 deletions(-)
create mode 100644 arch/arm/cpu/armv7/ls102xa/spl.c
create mode 100644 arch/arm/cpu/armv7/ls102xa/u-boot-spl.lds
create mode 100644 arch/arm/include/asm/arch-ls102xa/spl.h
create mode 100644 board/freescale/ls1021aqds/ls102xa_pbi.cfg
create mode 100644 board/freescale/ls1021aqds/ls102xa_rcw_sd.cfg
create mode 100644 board/freescale/ls1021atwr/ls102xa_pbi.cfg
create mode 100644 board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg
create mode 100644 configs/ls1021aqds_sdcard_defconfig
create mode 100644 configs/ls1021atwr_sdcard_defconfig