]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: common: Move ZYNQ_GEM_I2C_MAC_OFFSET to board Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Wed, 14 Oct 2020 15:08:14 +0000 (17:08 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commit5a05a35106aef219db25bde1d42930745931218f
tree561cf1696a81a2dd33156dc6ac8ed3b596ab3979
parentd08a8b7d52cc43051bc0c1de385dd067336eaa54
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>
board/xilinx/Kconfig
configs/avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig
configs/syzygy_hub_defconfig
configs/xilinx_zynqmp_virt_defconfig
drivers/misc/Kconfig