]> git.sur5r.net Git - u-boot/commitdiff
arm: pxa: colibri_pxa270: add some more nor flash details
authorMarcel Ziswiler <marcel@ziswiler.com>
Sun, 16 Aug 2015 02:16:34 +0000 (04:16 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 24 Aug 2015 18:30:38 +0000 (20:30 +0200)
Add some more NOR flash details like size, bus width and lock/unlock
time outs.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
include/configs/colibri_pxa270.h

index a1b64c60e64500ddd11f84a9af0844980e0c8ac4..722ff525f538b45754f12bd586a4a12f2394d1de 100644 (file)
  */
 #ifdef CONFIG_CMD_FLASH
 #define        PHYS_FLASH_1                    0x00000000      /* Flash Bank #1 */
+#define        PHYS_FLASH_SIZE                 0x02000000      /* 32 MB */
 #define        CONFIG_SYS_FLASH_BASE           PHYS_FLASH_1
 
 #define        CONFIG_SYS_FLASH_CFI
 #define        CONFIG_FLASH_CFI_DRIVER         1
+#define        CONFIG_SYS_FLASH_CFI_WIDTH      FLASH_CFI_32BIT
 
 #define        CONFIG_SYS_MAX_FLASH_SECT       (4 + 255)
 #define        CONFIG_SYS_MAX_FLASH_BANKS      1
 
 #define        CONFIG_SYS_FLASH_ERASE_TOUT     (25 * CONFIG_SYS_HZ)
 #define        CONFIG_SYS_FLASH_WRITE_TOUT     (25 * CONFIG_SYS_HZ)
+#define        CONFIG_SYS_FLASH_LOCK_TOUT      (25 * CONFIG_SYS_HZ)
+#define        CONFIG_SYS_FLASH_UNLOCK_TOUT    (25 * CONFIG_SYS_HZ)
 
 #define        CONFIG_SYS_FLASH_USE_BUFFER_WRITE       1
 #define        CONFIG_SYS_FLASH_PROTECTION             1