]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Update flash size in reg property of the NOR flash node
authorStefan Roese <sr@denx.de>
Fri, 16 Oct 2009 08:01:09 +0000 (10:01 +0200)
committerStefan Roese <sr@denx.de>
Fri, 23 Oct 2009 13:56:32 +0000 (15:56 +0200)
commit92b8964bed0d1b779d9e26be4e16755b5c635415
tree8dd6de3afc8a93d9103f0c9026c4edd6609f6d53
parent30d45c0d3ea2231f9131276ea113595959a0720e
ppc4xx: Update flash size in reg property of the NOR flash node

Till now only the ranges in the ebc node are updated with the values
currently configured in the PPC4xx EBC controller. With this patch now
the NOR flash size is updated in the device tree blob as well. This is
done by scanning the compatible nodes "cfi-flash" and "jedec-flash"
for the correct chip select number.

This size fixup is enabled for all AMCC eval board right now. Other
4xx boards may want to enable it as well, if this problem with multiple
NOR FLASH sizes exists.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
cpu/ppc4xx/fdt.c
include/configs/amcc-common.h