diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2006-02-22 14:15:41 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2006-02-22 14:15:41 -0600 |
commit | 79582020313e6d992a3bac71cf3a9b337f9ac7f7 (patch) | |
tree | 5eefe0c7b244ffd0798e64f9a83ec7084032a816 /board/pm520 | |
parent | 230b31febf39f9d9f19679cf0112d9e30415122d (diff) | |
parent | 6624b687bc2b747233090e67628df37d1c84ed17 (diff) | |
download | u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.zip u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.tar.gz u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.tar.bz2 |
Merge rsync://rsync.denx.de/git/u-boot
Diffstat (limited to 'board/pm520')
-rw-r--r-- | board/pm520/flash.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/board/pm520/flash.c b/board/pm520/flash.c index ccd0bd1..38f579b 100644 --- a/board/pm520/flash.c +++ b/board/pm520/flash.c @@ -242,10 +242,11 @@ static ulong flash_get_size (FPW *addr, flash_info_t *info) case (FPW) INTEL_ID_28F256J3A: info->flash_id += FLASH_28F256J3A; - info->sector_count = 256; - info->size = 0x04000000; - info->start[0] = CFG_FLASH_BASE; - break; /* => 64 MB */ + /* In U-Boot we support only 32 MB (no bank-switching) */ + info->sector_count = 256 / 2; + info->size = 0x04000000 / 2; + info->start[0] = CFG_FLASH_BASE + 0x02000000; + break; /* => 32 MB */ case (FPW) INTEL_ID_28F128J3A: info->flash_id += FLASH_28F128J3A; |