Skip to content
Snippets Groups Projects
Commit e36aff68 authored by Ilya Yanok's avatar Ilya Yanok Committed by Wolfgang Denk
Browse files

a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define


This patch adds CONFIG_SYS_FLASH_BANKS_SIZES define to make use of new
cfi_flash driver ability to detect flash chips that are bigger than a
corresponding address window (we have such situation on some revs of
a4m072).

Signed-off-by: default avatarIlya Yanok <yanok@emcraft.com>
parent ec50a8e3
No related branches found
No related tags found
No related merge requests found
......@@ -228,6 +228,7 @@
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_CS0_START}
#define CONFIG_SYS_FLASH_BANKS_SIZES {CONFIG_SYS_CS0_SIZE}
/*
* Environment settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment