From: Michal Simek Date: Sat, 13 Feb 2016 09:18:50 +0000 (+0100) Subject: ARM: zynq: zybo: Enabling reading MAC address from EEPROM X-Git-Tag: v2016.05-rc1~34^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=996503ef8249ea85f6e50e930b78c989bbf513c4;p=oweals%2Fu-boot.git 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 Signed-off-by: Michal Simek --- diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h index 0882fe36bd..637b1c5ffe 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