]> git.sur5r.net Git - u-boot/commitdiff
Blackfin: bf527-ezkit: fix SPI flash env params
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 May 2009 05:35:41 +0000 (01:35 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 May 2009 12:47:31 +0000 (08:47 -0400)
The BF527-EZKIT settings for storing the environment in SPI flash wasn't
using the correct sector settings for the SPI flash part that is actually
on the board.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/configs/bf527-ezkit.h

index 42cb0a8d7fd82ee063651e920d3e4dbf69413541..0fe5fa53ff3e3282b42510f4b583a100ec38fc51 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