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)
commit83594f3c01c1afb765f8e2b08feea10f24c01d7f
tree561cf1696a81a2dd33156dc6ac8ed3b596ab3979
parent13d1ca8742ab714d4238f7b1598931bb6aaa1ea4
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