diff options
author | Marcel Ziswiler | 2015-08-16 04:16:34 +0200 |
---|---|---|
committer | Marek Vasut | 2015-08-24 20:30:38 +0200 |
commit | d817889b1e5907da0c4885fcdf20f2f265966e86 (patch) | |
tree | 6c1aea084f381bbf1ca562cf09e2ae3686837452 /include/configs/colibri_pxa270.h | |
parent | a9fb90d1ee694655861e4c1c23a6a6c8207a495f (diff) |
arm: pxa: colibri_pxa270: add some more nor flash details
Add some more NOR flash details like size, bus width and lock/unlock
time outs.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'include/configs/colibri_pxa270.h')
-rw-r--r-- | include/configs/colibri_pxa270.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h index a1b64c60e64..722ff525f53 100644 --- a/include/configs/colibri_pxa270.h +++ b/include/configs/colibri_pxa270.h @@ -122,16 +122,20 @@ */ #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 |