diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-25 19:40:28 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-10 02:36:28 -0400 |
commit | f8bf54b4081c3c3d518830df0017a23ec672a841 (patch) | |
tree | f84fcb7ee89e4c1d2d195cdb7c256f17cfcd2f67 /include/configs | |
parent | 286070ddc8339666c09bd7912e960b850a8a0318 (diff) | |
download | u-boot-imx-f8bf54b4081c3c3d518830df0017a23ec672a841.zip u-boot-imx-f8bf54b4081c3c3d518830df0017a23ec672a841.tar.gz u-boot-imx-f8bf54b4081c3c3d518830df0017a23ec672a841.tar.bz2 |
Blackfin: blackstamp: update spi flash settings
The latest blackstamp boards can only run the SPI flash at 15MHz before
they start to crap out, so lower the max speeds accordingly. The new SPI
flash also has different sector requirements, so update the environment
sizes as well.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/blackstamp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/blackstamp.h b/include/configs/blackstamp.h index 1e4c716..887f3fb 100644 --- a/include/configs/blackstamp.h +++ b/include/configs/blackstamp.h @@ -83,10 +83,9 @@ #endif #define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_OFFSET 0x40000 #define CONFIG_ENV_SIZE 0x2000 #define CONFIG_ENV_SECT_SIZE 0x40000 -#define ENV_IS_EMBEDDED_CUSTOM /* * SDRAM settings & memory map @@ -245,9 +244,9 @@ * Serial Flash Infomation */ #define CONFIG_BFIN_SPI -/* For the M25P64 SCK Should be Kept < 20Mhz */ -#define CONFIG_ENV_SPI_MAX_HZ 20000000 -#define CONFIG_SF_DEFAULT_SPEED 20000000 +/* For the M25P64 SCK Should be Kept < 15Mhz */ +#define CONFIG_ENV_SPI_MAX_HZ 15000000 +#define CONFIG_SF_DEFAULT_SPEED 15000000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO |