ppc4xx: Add Canyonlands NAND booting support
commit71665ebf88408ff2acb762af47989fd4365b321a
authorStefan Roese <sr@denx.de>
Mon, 3 Mar 2008 16:27:02 +0000 (3 17:27 +0100)
committerStefan Roese <sr@denx.de>
Sat, 15 Mar 2008 06:28:05 +0000 (15 07:28 +0100)
tree7b728da4cbaf7b5d31d05315cc28ae33fbcbb183
parentc813f1f835a7edfdb929f2843b09db72cd5cd2f2
ppc4xx: Add Canyonlands NAND booting support

460EX doesn't support a fixed bootstrap option to boot from 512 byte page
NAND devices. The only bootstrap option for NAND booting is option F for
2k page devices. So to boot from a 512 bype page device, the I2C bootstrap
EEPROM needs to be programmed accordingly.

This patch adds basic NAND booting support for the AMCC Canyonlands aval
board and also adds support to the "bootstrap" command, to enable NAND
booting I2C setting.

Tested with 512 byte page NAND device (32MByte) on Canyonlands.

Signed-off-by: Stefan Roese <sr@denx.de>
13 files changed:
MAKEALL
Makefile
board/amcc/canyonlands/Makefile
board/amcc/canyonlands/bootstrap.c
board/amcc/canyonlands/canyonlands.c
board/amcc/canyonlands/init.S
board/amcc/canyonlands/u-boot-nand.lds [new file with mode: 0644]
cpu/ppc4xx/start.S
include/configs/canyonlands.h
nand_spl/board/amcc/canyonlands/Makefile [new file with mode: 0644]
nand_spl/board/amcc/canyonlands/config.mk [copied from board/amcc/canyonlands/Makefile with 57% similarity]
nand_spl/board/amcc/canyonlands/ddr2_fixed.c [new file with mode: 0644]
nand_spl/board/amcc/canyonlands/u-boot.lds [new file with mode: 0644]