[U-Boot] [PATCH v3 0/6] MX31: NAND boot for PDK boards.
Magnus Lilja
lilja.magnus at gmail.com
Tue Jun 9 20:37:33 CEST 2009
Hi all,
This is the latest set of patches that introduces NAND boot support
for the i.MX31 CPU in general and the PDK board especially.
The patches apply on u-boot next and u-boot-arm next.
I've taken care of all comments received (at least I think so) and
changes from the previous version include:
* Moved init of i.MX31 UART+SPI to a devices.c file which other boards
can use as well
* Included JC's macros.h file which contains macros to be used by
assembly code
* Renamed nand_boot_mx31.c to nand_boot_fsl_nfc.c since it's probable
that this can be used by other SoCs as well (e.g. mx27?)
* The nand_boot_fsl_nfc.c uses a struct for the NFC and read/write
operations without volatile.
* Made the lowlevel_init.S somewhat easier to understand.
The code boots on i.MX31 PDK board using large page NAND, it should
work for small page NAND as well but that has not been tested.
Regards, Magnus Lilja
Jean-Christophe PLAGNIOL-VILLARD (1):
ARM: Add macros.h to be used in assembler file.
Magnus Lilja (5):
ARM1136: Introduce CONFIG_PRELOADER macro.
MX31: Add NAND SPL for i.MX31.
i.MX31: Create a common device file.
MX31: Add basic support for Freescale i.MX31 PDK board.
MX31: Add NAND SPL boot support to i.MX31 PDK board.
MAINTAINERS | 4 +
MAKEALL | 2 +
Makefile | 13 ++-
README | 5 +
board/freescale/mx31pdk/Makefile | 52 ++++++
board/freescale/mx31pdk/config.mk | 5 +
board/freescale/mx31pdk/lowlevel_init.S | 114 ++++++++++++
board/freescale/mx31pdk/mx31pdk.c | 63 +++++++
cpu/arm1136/mx31/Makefile | 1 +
cpu/arm1136/mx31/devices.c | 56 ++++++
cpu/arm1136/start.S | 33 ++--
include/asm-arm/arch-mx31/mx31-regs.h | 61 ++++++
include/asm-arm/arch-mx31/mx31.h | 3 +
include/asm-arm/macro.h | 57 ++++++
include/configs/mx31pdk.h | 176 ++++++++++++++++++
include/fsl_nfc.h | 109 +++++++++++
nand_spl/board/freescale/mx31pdk/Makefile | 54 ++++++
nand_spl/board/freescale/mx31pdk/config.mk | 5 +
nand_spl/board/freescale/mx31pdk/u-boot.lds | 36 ++++
nand_spl/nand_boot_fsl_nfc.c | 263 +++++++++++++++++++++++++++
onenand_ipl/board/apollon/Makefile | 4 +-
21 files changed, 1099 insertions(+), 17 deletions(-)
create mode 100644 board/freescale/mx31pdk/Makefile
create mode 100644 board/freescale/mx31pdk/config.mk
create mode 100644 board/freescale/mx31pdk/lowlevel_init.S
create mode 100644 board/freescale/mx31pdk/mx31pdk.c
create mode 100644 cpu/arm1136/mx31/devices.c
create mode 100644 include/asm-arm/macro.h
create mode 100644 include/configs/mx31pdk.h
create mode 100644 include/fsl_nfc.h
create mode 100644 nand_spl/board/freescale/mx31pdk/Makefile
create mode 100644 nand_spl/board/freescale/mx31pdk/config.mk
create mode 100644 nand_spl/board/freescale/mx31pdk/u-boot.lds
create mode 100644 nand_spl/nand_boot_fsl_nfc.c
More information about the U-Boot
mailing list