summaryrefslogtreecommitdiff
path: root/configs/xilinx_zynqmp_virt_defconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-10-14 18:08:14 +0300
committerMichal Simek <michal.simek@xilinx.com>2020-10-27 10:13:32 +0300
commit83594f3c01c1afb765f8e2b08feea10f24c01d7f (patch)
tree561cf1696a81a2dd33156dc6ac8ed3b596ab3979 /configs/xilinx_zynqmp_virt_defconfig
parent13d1ca8742ab714d4238f7b1598931bb6aaa1ea4 (diff)
downloadu-boot-83594f3c01c1afb765f8e2b08feea10f24c01d7f.tar.xz
xilinx: common: Move ZYNQ_GEM_I2C_MAC_OFFSET to board Kconfig
There is no reason to have ZYNQ specific Kconfig macro in generic location to be visible for all other SoCs. That's why move it to Xilinx common location to be visible only for us. Also introduce new bool entry ZYNQ_MAC_IN_EEPROM to have also an option to disable it or enable. This has connection to code which is reading the whole content of i2c and also work with the rest of date not just with MAC address. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'configs/xilinx_zynqmp_virt_defconfig')
-rw-r--r--configs/xilinx_zynqmp_virt_defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
index 3233f34730..01b2f18a05 100644
--- a/configs/xilinx_zynqmp_virt_defconfig
+++ b/configs/xilinx_zynqmp_virt_defconfig
@@ -7,6 +7,8 @@ CONFIG_DM_GPIO=y
CONFIG_SPL=y
CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_SPL_SPI_SUPPORT=y
+CONFIG_ZYNQ_MAC_IN_EEPROM=y
+CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
CONFIG_ZYNQMP_USB=y
CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu100-revC"
CONFIG_AHCI=y
@@ -91,7 +93,6 @@ CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_MISC=y
CONFIG_I2C_EEPROM=y
-CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
CONFIG_SYS_I2C_EEPROM_ADDR=0x0
CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
CONFIG_SUPPORT_EMMC_BOOT=y