summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2014-01-09 01:48:16 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-10 15:18:33 +0100
commit65da1efde2d76535265bf521f9f5a643e6755c9b (patch)
treebbb534faf3c4fb6b97a8cf68e4bb9319fb78c9ea /include/configs/zynq-common.h
parent0f5c215650625f4533c0456f60638aeab1801b3e (diff)
downloadu-boot-imx-65da1efde2d76535265bf521f9f5a643e6755c9b.zip
u-boot-imx-65da1efde2d76535265bf521f9f5a643e6755c9b.tar.gz
u-boot-imx-65da1efde2d76535265bf521f9f5a643e6755c9b.tar.bz2
zynq: zc70x: Add Catalyst 24WC08 EEPROM config support
Adds configurations for Catalyst 24WC08 EEPROM, which is present on the zynq boards. Enable EEPROM support for zc70x boards. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index e5b1e1d..cf96333 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -97,6 +97,16 @@
# define CONFIG_SYS_I2C_ZYNQ_SLAVE 1
#endif
+/* EEPROM */
+#ifdef CONFIG_ZYNQ_EEPROM
+# define CONFIG_CMD_EEPROM
+# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
+# define CONFIG_SYS_I2C_EEPROM_ADDR 0x54
+# define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4
+# define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
+# define CONFIG_SYS_EEPROM_SIZE 1024 /* Bytes */
+#endif
+
#define CONFIG_BOOTP_SERVERIP
#define CONFIG_BOOTP_BOOTPATH
#define CONFIG_BOOTP_GATEWAY