summaryrefslogtreecommitdiff
path: root/include/configs/bf533-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/bf533-stamp.h
parent63cb0f4eb2d3cf15e7a1add19d1289f4ae75816c (diff)
downloadu-boot-imx-bc43a8d8994c2f0be29e09b13b15da7f79e2c081.zip
u-boot-imx-bc43a8d8994c2f0be29e09b13b15da7f79e2c081.tar.gz
u-boot-imx-bc43a8d8994c2f0be29e09b13b15da7f79e2c081.tar.bz2
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/bf533-stamp.h')
-rw-r--r--include/configs/bf533-stamp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h
index 579540e..9b22f2d 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