diff options
author | Stefan Roese <sr@denx.de> | 2008-03-25 17:51:13 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-03-27 09:54:41 +0100 |
commit | d56a3ce179688cde61073a3690e21703d68fafd7 (patch) | |
tree | f416f5f3e71660878b95194293e27b6c40d1b5e5 | |
parent | 9ad31989de12ce5c67b07c4867ead47465655c4b (diff) | |
download | u-boot-imx-d56a3ce179688cde61073a3690e21703d68fafd7.zip u-boot-imx-d56a3ce179688cde61073a3690e21703d68fafd7.tar.gz u-boot-imx-d56a3ce179688cde61073a3690e21703d68fafd7.tar.bz2 |
ppc4xx: Correctly pass phyiscal FLASH base address into dtb
The routine ft_board_setup() configures the EBC NOR mappings for the
Linux physmap_of driver. Since on 460EX/GT we remap the FLASH from
0x4.fc00.0000 to 0x4.cc00.0000 because of the max. 16MByte boot-CS
problem, we need to pass the corrected address here too.
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | board/amcc/canyonlands/canyonlands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amcc/canyonlands/canyonlands.c b/board/amcc/canyonlands/canyonlands.c index fa3ae85..8cc6a89 100644 --- a/board/amcc/canyonlands/canyonlands.c +++ b/board/amcc/canyonlands/canyonlands.c @@ -414,7 +414,7 @@ void ft_board_setup(void *blob, bd_t *bd) /* Fixup NOR mapping */ val[0] = 0; /* chip select number */ val[1] = 0; /* always 0 */ - val[2] = gd->bd->bi_flashstart; + val[2] = CFG_FLASH_BASE_PHYS_L; /* we fixed up this address */ val[3] = gd->bd->bi_flashsize; rc = fdt_find_and_setprop(blob, "/plb/opb/ebc", "ranges", val, sizeof(val), 1); |