mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
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>
This commit is contained in:
parent
a509a1d402
commit
996503ef82
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
||||||
#define CONFIG_ZYNQ_I2C0
|
#define CONFIG_ZYNQ_I2C0
|
||||||
#define CONFIG_ZYNQ_I2C1
|
#define CONFIG_ZYNQ_I2C1
|
||||||
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
|
#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_DISPLAY
|
||||||
#define CONFIG_I2C_EDID
|
#define CONFIG_I2C_EDID
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue