mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-21 22:21:36 +00:00
Fix 28F256J3A support on PM520 board
(without bank-switching only 32 MB can be accessed)
This commit is contained in:
parent
756ceb8935
commit
c4b465f63e
3 changed files with 11 additions and 7 deletions
|
@ -2,9 +2,12 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix 28F256J3A support on PM520 board
|
||||||
|
(without bank-switching only 32 MB can be accessed)
|
||||||
|
|
||||||
* Fix mkimage bug with multifile images created on 64 bit systems.
|
* Fix mkimage bug with multifile images created on 64 bit systems.
|
||||||
|
|
||||||
* Add support for 28F256J3A flah (=> 64 MB) on PM520 board
|
* Add support for 28F256J3A flash (=> 64 MB) on PM520 board
|
||||||
|
|
||||||
* Fix compiler problem with at91rm9200dk board.
|
* Fix compiler problem with at91rm9200dk board.
|
||||||
Patch by Eugen Bigz, 19 Dec 2005
|
Patch by Eugen Bigz, 19 Dec 2005
|
||||||
|
|
|
@ -242,10 +242,11 @@ static ulong flash_get_size (FPW *addr, flash_info_t *info)
|
||||||
|
|
||||||
case (FPW) INTEL_ID_28F256J3A:
|
case (FPW) INTEL_ID_28F256J3A:
|
||||||
info->flash_id += FLASH_28F256J3A;
|
info->flash_id += FLASH_28F256J3A;
|
||||||
info->sector_count = 256;
|
/* In U-Boot we support only 32 MB (no bank-switching) */
|
||||||
info->size = 0x04000000;
|
info->sector_count = 256 / 2;
|
||||||
info->start[0] = CFG_FLASH_BASE;
|
info->size = 0x04000000 / 2;
|
||||||
break; /* => 64 MB */
|
info->start[0] = CFG_FLASH_BASE + 0x02000000;
|
||||||
|
break; /* => 32 MB */
|
||||||
|
|
||||||
case (FPW) INTEL_ID_28F128J3A:
|
case (FPW) INTEL_ID_28F128J3A:
|
||||||
info->flash_id += FLASH_28F128J3A;
|
info->flash_id += FLASH_28F128J3A;
|
||||||
|
|
|
@ -327,11 +327,11 @@
|
||||||
#define CFG_CS0_SIZE CFG_BOOTROM_SIZE
|
#define CFG_CS0_SIZE CFG_BOOTROM_SIZE
|
||||||
#define CFG_CS1_START CFG_FLASH_BASE
|
#define CFG_CS1_START CFG_FLASH_BASE
|
||||||
#define CFG_CS1_SIZE CFG_FLASH_SIZE
|
#define CFG_CS1_SIZE CFG_FLASH_SIZE
|
||||||
#define CFG_CS1_CFG 0x0004fb00
|
#define CFG_CS1_CFG 0x0004FF00
|
||||||
#else
|
#else
|
||||||
#define CFG_BOOTCS_START CFG_FLASH_BASE
|
#define CFG_BOOTCS_START CFG_FLASH_BASE
|
||||||
#define CFG_BOOTCS_SIZE CFG_FLASH_SIZE
|
#define CFG_BOOTCS_SIZE CFG_FLASH_SIZE
|
||||||
#define CFG_BOOTCS_CFG 0x0004fb00
|
#define CFG_BOOTCS_CFG 0x0004FF00
|
||||||
#define CFG_CS0_START CFG_FLASH_BASE
|
#define CFG_CS0_START CFG_FLASH_BASE
|
||||||
#define CFG_CS0_SIZE CFG_FLASH_SIZE
|
#define CFG_CS0_SIZE CFG_FLASH_SIZE
|
||||||
#define CFG_CS1_START CFG_DOC_BASE
|
#define CFG_CS1_START CFG_DOC_BASE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue