diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2006-02-21 16:41:43 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2006-02-21 16:41:43 +0100 |
commit | 654c2d2836ff49c94a0bceb700701976e2682375 (patch) | |
tree | b48b6863cd3a672d4e6da6dfb4953decd68e8d66 /include/configs/CPCI750.h | |
parent | 84e106c09d324e345f335d2edef246d0b4c9131a (diff) | |
parent | 79830d591afb758be8556396949d433fee1527c2 (diff) | |
download | u-boot-imx-654c2d2836ff49c94a0bceb700701976e2682375.zip u-boot-imx-654c2d2836ff49c94a0bceb700701976e2682375.tar.gz u-boot-imx-654c2d2836ff49c94a0bceb700701976e2682375.tar.bz2 |
Merge with /home/sr/git/u-boot
Diffstat (limited to 'include/configs/CPCI750.h')
-rw-r--r-- | include/configs/CPCI750.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/configs/CPCI750.h b/include/configs/CPCI750.h index 150e526..1632f37 100644 --- a/include/configs/CPCI750.h +++ b/include/configs/CPCI750.h @@ -285,13 +285,19 @@ * FLASH related *----------------------------------------------------------------------*/ +#define CFG_FLASH_CFI_DRIVER #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ -#define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */ -#define CFG_MAX_FLASH_BANKS 4 /* max number of memory banks */ -#define CFG_FLASH_INCREMENT 0x01000000 /* there is only one bank */ #define CFG_FLASH_PROTECTION 1 /* use hardware protection */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_BASE 0xfc000000 /* start of flash banks */ +#define CFG_MAX_FLASH_BANKS 4 /* max number of memory banks */ +#define CFG_FLASH_INCREMENT 0x01000000 /* size of flash bank */ +#define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */ +#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, \ + CFG_FLASH_BASE + 1*CFG_FLASH_INCREMENT, \ + CFG_FLASH_BASE + 2*CFG_FLASH_INCREMENT, \ + CFG_FLASH_BASE + 3*CFG_FLASH_INCREMENT } +#define CFG_FLASH_EMPTY_INFO 1 /* show if bank is empty */ /* areas to map different things with the GT in physical space */ #define CFG_DRAM_BANKS 4 |