summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Ray <ian.ray@ge.com>2017-08-22 06:03:54 (GMT)
committerStefano Babic <sbabic@denx.de>2017-09-20 13:34:59 (GMT)
commitbe2808c3b0671751827b39753e7abe7278d33c62 (patch)
tree7c817b82a1c59d322148d848d64c53317c929bb2 /include
parentb1e8512e9dbe1771da9c3ad3ddfaf7681318fe0e (diff)
downloadu-boot-be2808c3b0671751827b39753e7abe7278d33c62.tar.xz
board: ge: bx50v3: set eth0 MAC address
Define i2c mux configuration. Add new vpd_reader which is used to read vital product data. Read VPD from EEPROM and set eth0 MAC address. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ge_bx50v3.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index a0468d2..33f5101 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -299,4 +299,19 @@
#define CONFIG_SYS_I2C_MXC_I2C2
#define CONFIG_SYS_I2C_MXC_I2C3
+#define CONFIG_SYS_NUM_I2C_BUSES 9
+#define CONFIG_SYS_I2C_MAX_HOPS 1
+#define CONFIG_SYS_I2C_BUSES { {0, {I2C_NULL_HOP} }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 0} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 1} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 2} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 3} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 4} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 5} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 6} } }, \
+ {0, {{I2C_MUX_PCA9547, 0x70, 7} } }, \
+ }
+
+#define CONFIG_BCH
+
#endif /* __GE_BX50V3_CONFIG_H */