summaryrefslogtreecommitdiff
path: root/include/configs/MPC8572DS.h
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2008-10-03 11:47:30 -0400
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-10-07 16:22:26 -0500
commit445a7b38308eb05b41de74165b20855db58c7ee5 (patch)
tree2b4fe47f7c766c8cc2ba93f49c50e9de2366e049 /include/configs/MPC8572DS.h
parent1f3ba317a5c5f3a7aabf580fddc211f4bb5a4540 (diff)
Add ID EEPROM support for MPC8572DS
The ID EEPROM on MPC8572DS board locates on I2C bus 1. Its the storage for system information like mac addresses etc. This patch enables it. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Diffstat (limited to 'include/configs/MPC8572DS.h')
-rw-r--r--include/configs/MPC8572DS.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 87b10116d1..fbe7b6134a 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -304,6 +304,17 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CFG_I2C2_OFFSET 0x3100
/*
+ * I2C2 EEPROM
+ */
+#define CONFIG_ID_EEPROM
+#ifdef CONFIG_ID_EEPROM
+#define CFG_I2C_EEPROM_NXID
+#endif
+#define CFG_I2C_EEPROM_ADDR 0x57
+#define CFG_I2C_EEPROM_ADDR_LEN 1
+#define CFG_EEPROM_BUS_NUM 1
+
+/*
* General PCI
* Memory space is mapped 1-1, but I/O space must start from 0.
*/