summaryrefslogtreecommitdiff
path: root/configs/A20-OLinuXino-Lime2_defconfig
diff options
context:
space:
mode:
authoroliver@schinagl.nl <oliver@schinagl.nl>2016-11-25 16:38:38 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2017-03-26 09:57:55 -0500
commit625cf507ff79412bb5fd2ded9a22365480d2c3bf (patch)
treea57fd75bc8cc38b8af5de06edcd5cdfd9e1e02b3 /configs/A20-OLinuXino-Lime2_defconfig
parentace1520cb5fc2628aa3bbe426d4066d2806d951c (diff)
net: sunxi: Enable eeprom on OLinuXino Lime boards
This patch enables the I2C EEPROM to be probed for a MAC address on the OLinuXino Lime1 and Lime2 boards. Other boards surely qualify as well but were not tested yet. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'configs/A20-OLinuXino-Lime2_defconfig')
-rw-r--r--configs/A20-OLinuXino-Lime2_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
index a4ade72d4a3..4c720b31095 100644
--- a/configs/A20-OLinuXino-Lime2_defconfig
+++ b/configs/A20-OLinuXino-Lime2_defconfig
@@ -21,6 +21,10 @@ CONFIG_CMD_USB_MASS_STORAGE=y
# CONFIG_SPL_PARTITION_UUIDS is not set
CONFIG_DFU_RAM=y
CONFIG_ETH_DESIGNWARE=y
+CONFIG_NET_ETHADDR_EEPROM=y
+CONFIG_NET_ETHADDR_EEPROM_I2C=y
+CONFIG_NET_ETHADDR_EEPROM_I2C_BUS=1
+CONFIG_I2C1_ENABLE=y
CONFIG_AXP_ALDO3_VOLT=2800
CONFIG_AXP_ALDO4_VOLT=2800
CONFIG_USB_EHCI_HCD=y