Skip to content

Commit

Permalink
a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define
Browse files Browse the repository at this point in the history
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: Ilya Yanok <[email protected]>
  • Loading branch information
Ilya Yanok authored and wdenx committed Oct 23, 2010
1 parent ec50a8e commit e36aff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/configs/a4m072.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e36aff6

Please sign in to comment.