summaryrefslogtreecommitdiff
path: root/include/configs/km/km-powerpc.h
diff options
context:
space:
mode:
authorStefan Bigler <stefan.bigler@keymile.com>2011-07-04 22:24:01 +0000
committerWolfgang Denk <wd@denx.de>2011-07-28 15:40:02 +0200
commit4daea6fff34b071e010cbd1af93445634703981b (patch)
treebe59b90e9ab98628ba0abbbb489b21a8fab0b03a /include/configs/km/km-powerpc.h
parent8519d180354fe2d488973e6612902bd552bcf8fb (diff)
downloadu-boot-imx-4daea6fff34b071e010cbd1af93445634703981b.zip
u-boot-imx-4daea6fff34b071e010cbd1af93445634703981b.tar.gz
u-boot-imx-4daea6fff34b071e010cbd1af93445634703981b.tar.bz2
km/common: moved eeprom config to pbec specific part
Moved eeprom config to specific part, to allow bigger eeprom write pages for km_kirkwood designs. Write page only used for env eeprom in std use cases. 24C128 has page size of 64bytes -> 8 time faster. Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/km/km-powerpc.h')
-rw-r--r--include/configs/km/km-powerpc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h
index 7610358..506755b 100644
--- a/include/configs/km/km-powerpc.h
+++ b/include/configs/km/km-powerpc.h
@@ -29,6 +29,12 @@
#define CONFIG_CMD_DTT
#define CONFIG_JFFS2_CMDLINE
+/* EEprom support 24C08, 24C16, 24C64 */
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3 /* 8 Byte write page */
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10
+
#define CONFIG_ENV_SIZE 0x04000 /* Size of Environment */
#define CONFIG_FLASH_CFI_MTD