summaryrefslogtreecommitdiff
path: root/include/configs/bf537-stamp.h
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/configs/bf537-stamp.h
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/configs/bf537-stamp.h')
-rw-r--r--include/configs/bf537-stamp.h4
1 files changed, 2 insertions, 2 deletions
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