]> git.sur5r.net Git - u-boot/commit
ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia
authorStefan Roese <sr@denx.de>
Wed, 8 Apr 2009 08:36:22 +0000 (10:36 +0200)
committerStefan Roese <sr@denx.de>
Thu, 16 Apr 2009 07:12:08 +0000 (09:12 +0200)
commit5132106a27b8fb302677852b26ffd319b40d17e2
treedebfb4b7d3b9949619d80b467069df37e39a4280
parentf75a729b5c1434d5a5bbf453b1b699bf1c3ffbce
ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia

Currently the NOR & NAND support in Linux only works for the "standard"
Sequoia, the version booting for NOR flash. The NAND-booting version
has the chip-selects swapped. Here the chip-select mappings:

"Standard" NOR-booting version:
CS0 NOR
CS3 NAND

NAND-booting version:
CS0 NAND
CS3 NOR

With this path the dtb gets fixed-up, so that the correct chip-select
numbers are patched in the dtb enabling correct NOR & NAND support
in Linux on the NAND-booting Sequoia version.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/sequoia/sequoia.c