From: Ilya Yanok Date: Thu, 21 Oct 2010 17:20:13 +0200 Subject: [U-Boot] [PATCH 5/5] a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define In-Reply-To: <1287674413-3900-1-git-send-email-yanok@emcraft.com> References: <1287674413-3900-1-git-send-email-yanok@emcraft.com> Message-ID: <1287674413-3900-6-git-send-email-yanok@emcraft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/a4m072.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h index a24b304..f18bc45 100644 --- a/include/configs/a4m072.h +++ b/include/configs/a4m072.h @@ -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 -- 1.7.2.3