diff options
author | Michal Simek <monstr@monstr.eu> | 2016-02-13 10:18:50 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-04-04 20:28:37 +0200 |
commit | 996503ef8249ea85f6e50e930b78c989bbf513c4 (patch) | |
tree | fd6472e5dd62a8663b1ac8c364ae4ba5ff9151a2 /include | |
parent | a509a1d40264516821d0ba2d1d6a6ab2e1a2acbd (diff) | |
download | u-boot-imx-996503ef8249ea85f6e50e930b78c989bbf513c4.zip u-boot-imx-996503ef8249ea85f6e50e930b78c989bbf513c4.tar.gz u-boot-imx-996503ef8249ea85f6e50e930b78c989bbf513c4.tar.bz2 |
ARM: zynq: zybo: Enabling reading MAC address from EEPROM
Zybo has on board I2C EEPROM which contains preprogrammed MAC address.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/zynq_zybo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h index 0882fe3..637b1c5 100644 --- a/include/configs/zynq_zybo.h +++ b/include/configs/zynq_zybo.h @@ -17,6 +17,9 @@ #define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 +#define CONFIG_CMD_EEPROM +#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x50 +#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA #define CONFIG_DISPLAY #define CONFIG_I2C_EDID |