From: Vivi Li Date: Fri, 12 Jun 2009 10:53:22 +0000 (+0000) Subject: Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash X-Git-Tag: v2009.08-rc1~128 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc43a8d8994c2f0be29e09b13b15da7f79e2c081;p=oweals%2Fu-boot.git Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash The SPI flash layer is much stricter about sector usage than the eeprom layer we used to use, so update the env settings to better match the sector alignment of the flashes we use. Signed-off-by: Vivi Li Signed-off-by: Mike Frysinger --- diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index 579540ebe4..9b22f2d049 100644 --- a/include/configs/bf533-stamp.h +++ b/include/configs/bf533-stamp.h @@ -102,9 +102,9 @@ */ #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) #define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_OFFSET 0x10000 #define CONFIG_ENV_SIZE 0x2000 -#define CONFIG_ENV_SECT_SIZE 0x2000 +#define CONFIG_ENV_SECT_SIZE 0x10000 #else #define CONFIG_ENV_IS_IN_FLASH #define CONFIG_ENV_OFFSET 0x4000 diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index e883f2ebf8..8e068445b4 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -100,9 +100,9 @@ */ #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) #define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_OFFSET 0x10000 #define CONFIG_ENV_SIZE 0x2000 -#define CONFIG_ENV_SECT_SIZE 0x2000 +#define CONFIG_ENV_SECT_SIZE 0x10000 #else #define CONFIG_ENV_IS_IN_FLASH #define CONFIG_ENV_OFFSET 0x4000