summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVivi Li <vivi.li@analog.com>2009-06-12 10:53:22 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-15 13:30:16 -0400
commitbc43a8d8994c2f0be29e09b13b15da7f79e2c081 (patch)
tree1758e0d1483704172878dcd3b6051f7197c36548 /include
parent63cb0f4eb2d3cf15e7a1add19d1289f4ae75816c (diff)
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 <vivi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/bf533-stamp.h4
-rw-r--r--include/configs/bf537-stamp.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h
index 579540ebe4a..9b22f2d049a 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 e883f2ebf8d..8e068445b4d 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