]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash
authorVivi Li <vivi.li@analog.com>
Fri, 12 Jun 2009 10:53:22 +0000 (10:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 15 Jun 2009 17:30:16 +0000 (13:30 -0400)
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 <vivi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/configs/bf533-stamp.h
include/configs/bf537-stamp.h

index 579540ebe4a875610f6852f75221a55cc96afc6e..9b22f2d049a14c2521ed768b4ef873581b8a1b94 100644 (file)
  */
 #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
index e883f2ebf8dc89e8ece63228a128ac55f727dbbd..8e068445b4deff55022e1885b08e3d137618d27d 100644 (file)
  */
 #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