diff options
author | Stefan Roese <sr@denx.de> | 2007-07-24 09:52:52 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-07-24 09:52:52 +0200 |
commit | 9f24a808f17fc0f37b7fb4805f734741335caecc (patch) | |
tree | 76c7953f30e319830f0dc3a4d248d05acade875a /include/configs/lwmon5.h | |
parent | aedf5bde179ecfbd0a96130d18996a96518b785f (diff) | |
download | u-boot-imx-9f24a808f17fc0f37b7fb4805f734741335caecc.zip u-boot-imx-9f24a808f17fc0f37b7fb4805f734741335caecc.tar.gz u-boot-imx-9f24a808f17fc0f37b7fb4805f734741335caecc.tar.bz2 |
ppc4xx: lwmon5: Support for 128 MByte NOR FLASH added
The used Intel NOR FLASH chips have internally two dies, and are now
treated as two seperate chips.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/lwmon5.h')
-rw-r--r-- | include/configs/lwmon5.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h index 36ead23..55e2c94 100644 --- a/include/configs/lwmon5.h +++ b/include/configs/lwmon5.h @@ -46,7 +46,7 @@ #define CFG_BOOT_BASE_ADDR 0xf0000000 #define CFG_SDRAM_BASE 0x00000000 /* _must_ be 0 */ -#define CFG_FLASH_BASE 0xfc000000 /* start of FLASH */ +#define CFG_FLASH_BASE 0xf8000000 /* start of FLASH */ #define CFG_MONITOR_BASE TEXT_BASE #define CFG_LIME_BASE_0 0xc0000000 #define CFG_LIME_BASE_1 0xc1000000 @@ -105,9 +105,11 @@ #define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ -#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } +#define CFG_FLASH0 0xFC000000 +#define CFG_FLASH1 0xF8000000 +#define CFG_FLASH_BANKS_LIST { CFG_FLASH1, CFG_FLASH0 } -#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ +#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */ #define CFG_MAX_FLASH_SECT 512 /* max number of sectors on one chip */ #define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */ @@ -319,7 +321,7 @@ /* Memory Bank 0 (NOR-FLASH) initialization */ #define CFG_EBC_PB0AP 0x03050200 -#define CFG_EBC_PB0CR (CFG_FLASH | 0xdc000) +#define CFG_EBC_PB0CR (CFG_FLASH | 0xfc000) /* Memory Bank 1 (Lime) initialization */ #define CFG_EBC_PB1AP 0x01004380 |