summaryrefslogtreecommitdiff
path: root/include/configs/inka4x0.h
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2007-11-15 13:37:28 +0100
committerMarian Balakowicz <m8@semihalf.com>2007-11-15 13:37:28 +0100
commit5e71c51d74c963d3174060c078dcacf13bdd02ef (patch)
tree7819c3b9e251b43c5eb4265327e0c00e38a50f9e /include/configs/inka4x0.h
parent5fb6d7191e206cdde0e23140fd8111caed93a595 (diff)
downloadu-boot-imx-5e71c51d74c963d3174060c078dcacf13bdd02ef.zip
u-boot-imx-5e71c51d74c963d3174060c078dcacf13bdd02ef.tar.gz
u-boot-imx-5e71c51d74c963d3174060c078dcacf13bdd02ef.tar.bz2
[INKA4x0] NG hardware: flash support
Disabled and remove inka4x0 custom flash driver, use CFI flash driver instead. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'include/configs/inka4x0.h')
-rw-r--r--include/configs/inka4x0.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h
index 1617cd4..206007d 100644
--- a/include/configs/inka4x0.h
+++ b/include/configs/inka4x0.h
@@ -156,21 +156,20 @@
/*
* Flash configuration
*/
-#define CFG_FLASH_BASE 0xFFE00000
-
-#define CFG_FLASH_SIZE 0x00200000 /* 2 MByte */
-#define CFG_MAX_FLASH_SECT 35 /* max num of sects on one chip */
-
-#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x4000) /* second sector */
-#define CFG_MAX_FLASH_BANKS 1 /* max num of flash banks
- (= chip selects) */
-#define CFG_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */
-#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (in ms) */
+#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
+#define CFG_FLASH_CFI_DRIVER 1
+#define CFG_FLASH_BASE 0xffe00000
+#define CFG_FLASH_SIZE 0x00200000
+#define CFG_MAX_FLASH_BANKS 1 /* max num of memory banks */
+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
+#define CFG_MAX_FLASH_SECT 128 /* max num of sects on one chip */
+#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */
/*
* Environment settings
*/
#define CFG_ENV_IS_IN_FLASH 1
+#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x4000)
#define CFG_ENV_SIZE 0x2000
#define CFG_ENV_SECT_SIZE 0x2000
#define CONFIG_ENV_OVERWRITE 1