]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/integratorap.h
integratorap/cp: use cfi driver
[karo-tx-uboot.git] / include / configs / integratorap.h
index 09270ff0a80d0ca09a7baf4278d6c701a245f4c0..e0e82583410516c1c0f4fca9a6da2aaf8821d3bb 100644 (file)
 #define PHYS_SDRAM_1           0x00000000      /* SDRAM Bank #1 */
 #define PHYS_SDRAM_1_SIZE      0x02000000      /* 32 MB */
 
-#define CONFIG_SYS_FLASH_BASE          0x24000000
+#define CONFIG_SYS_FLASH_BASE  0x24000000
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
+#define CONFIG_SYS_FLASH_CFI           1
+#define CONFIG_FLASH_CFI_DRIVER                1
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_SYS_MAX_FLASH_BANKS     1               /* max number of memory banks */
-#define PHYS_FLASH_SIZE                0x01000000      /* 16MB */
 /* timeout values are in ticks */
 #define CONFIG_SYS_FLASH_ERASE_TOUT    (2*CONFIG_SYS_HZ)       /* Timeout for Flash Erase */
 #define CONFIG_SYS_FLASH_WRITE_TOUT    (2*CONFIG_SYS_HZ)       /* Timeout for Flash Write */
 #define CONFIG_SYS_MAX_FLASH_SECT      128
-#define CONFIG_ENV_SIZE                32768
+#define CONFIG_ENV_SIZE                        32768
 
-#define PHYS_FLASH_1           (CONFIG_SYS_FLASH_BASE)
 
 /*-----------------------------------------------------------------------
  * PCI definitions