]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: Remove unused ZYNQ_MAC_IN_EEPROM/ZYNQ_GEM_I2C_MAC_OFFSET entries
authorMichal Simek <michal.simek@amd.com>
Wed, 23 Nov 2022 08:27:08 +0000 (09:27 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:55 +0000 (08:55 +0100)
The commit ba74bcf3e07b ("xilinx: common: Remove
zynq_board_read_rom_ethaddr()") removed zynq_board_read_rom_ethaddr()
because xlnx,eeprom link via DT chosen node is no longer used. But forget
to remove Kconfig entries which are used by this code only.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/f97451ed33409838efea4071553b6da795cfc578.1669192026.git.michal.simek@amd.com
board/xilinx/Kconfig
configs/avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig
configs/syzygy_hub_defconfig
configs/xilinx_zynqmp_virt_defconfig

index 7b31d7eaedd5650cecfc69f1b7fd4b59c54d20b1..4f0776e8bd95a0cc7efacd621b552fe3db5427e3 100644 (file)
@@ -58,23 +58,6 @@ config BOOT_SCRIPT_OFFSET
        help
           Specifies distro boot script offset in NAND/QSPI/NOR flash.
 
-config ZYNQ_MAC_IN_EEPROM
-       bool "Reading MAC address from EEPROM"
-       help
-         Enable this option if your MAC address is saved in eeprom and
-         xlnx,eeprom DT property in chosen node points to it.
-
-if ZYNQ_MAC_IN_EEPROM
-
-config ZYNQ_GEM_I2C_MAC_OFFSET
-       hex "Set the I2C MAC offset"
-       default 0x0
-       depends on DM_I2C
-       help
-         Set the MAC offset for i2C.
-
-endif
-
 config CMD_FRU
        bool "FRU information for product"
        help
index 943b4da21d138b4e7ed2e96c76ef44574f24007e..ce07f1633e04a2cb79ecf7788fbb0dc538fd9165 100644 (file)
@@ -8,8 +8,6 @@ CONFIG_DEFAULT_DEVICE_TREE="avnet-ultrazedev-cc-v1.0-ultrazedev-som-v1.0"
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_ZYNQ_MAC_IN_EEPROM=y
-CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0xfa
 CONFIG_ZYNQMP_PSU_INIT_ENABLED=y
 CONFIG_SYS_LOAD_ADDR=0x8000000
 CONFIG_DEBUG_UART=y
index acce95ec026c274497999c49cf3bd0839962ce03..179cb52212501ea7a7ca4860e1fb24c1ba2ad72c 100644 (file)
@@ -9,8 +9,6 @@ CONFIG_DM_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="zynq-syzygy-hub"
 CONFIG_SPL_STACK_R_ADDR=0x200000
 CONFIG_SPL=y
-CONFIG_ZYNQ_MAC_IN_EEPROM=y
-CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0xFA
 CONFIG_SYS_LOAD_ADDR=0x0
 CONFIG_DEBUG_UART=y
 CONFIG_DISTRO_DEFAULTS=y
index 9696e418daf52ee2d4f36670164f271748fc6943..4732c39bdbe14e55a62261e94e074a07e785e741 100644 (file)
@@ -13,8 +13,6 @@ CONFIG_SPL=y
 CONFIG_ENV_OFFSET_REDUND=0x1E80000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_ZYNQ_MAC_IN_EEPROM=y
-CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
 CONFIG_CMD_FRU=y
 CONFIG_ZYNQMP_USB=y
 CONFIG_SYS_LOAD_ADDR=0x8000000