eeprom: Moved eeprom u-boot headers to the Kconfig
Subsystems (2)
cover eeprom: Moved eeprom u-boot headers to the Kconfig
This series of patch added Kconfig support for eeprom u-boot headers and enabled in respective defconfig.
These are the configs:
-CONFIG_ZYNQ_EEPROM
-CONFIG_ZYNQ_EEPROM_BUS
-CONFIG_ZYNQ_GEM_EEPROM_ADDR
Vipul Kumar (2):
eeprom: Added Kconfig support for ZYNQ_EEPROM
eeprom: Added Kconfig support for eeprom u-boot headers
configs/syzygy_hub_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revA_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zybo_defconfig | 1 + drivers/misc/Kconfig | 18 ++++++++++++++++++ include/configs/syzygy_hub.h | 1 - include/configs/xilinx_zynqmp_ep.h | 1 - include/configs/xilinx_zynqmp_zcu102.h | 2 -- include/configs/zynq_zc70x.h | 1 - include/configs/zynq_zybo.h | 1 - 14 files changed, 29 insertions(+), 6 deletions(-)
--
2.7.4
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
PATCH 1/2 eeprom: Added Kconfig support for ZYNQ_EEPROM
This patch added Kconfig support for ZYNQ_EEPROM
and enabled it in respective defconfig.
--- configs/xilinx_zynqmp_ep_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + drivers/misc/Kconfig | 5 +++++ include/configs/xilinx_zynqmp_ep.h | 1 - include/configs/zynq_zc70x.h | 1 - 6 files changed, 8 insertions(+), 2 deletions(-)
configs/xilinx_zynqmp_ep_defconfig +1 -0
@@ -58,6 +58,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_CADENCE=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y
configs/zynq_zc702_defconfig +1 -0
@@ -40,6 +40,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_EEPROM=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=y
configs/zynq_zc706_defconfig +1 -0
@@ -40,6 +40,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_EEPROM=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=y
drivers/misc/Kconfig +5 -0
@@ -214,6 +214,11 @@ config SPL_I2C_EEPROM This option is an SPL-variant of the I2C_EEPROM option. See the help of I2C_EEPROM for details. +config ZYNQ_EEPROM + bool "Enable driver for ZYNQ EEPROM" + help + This enables the EEPROM driver for Zynq. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDR
include/configs/xilinx_zynqmp_ep.h +0 -1
@@ -15,7 +15,6 @@#define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000#define CONFIG_ZYNQ_SDHCI_MIN_FREQ (CONFIG_ZYNQ_SDHCI_MAX_FREQ >> 9) -#define CONFIG_ZYNQ_EEPROM #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR, \ ZYNQMP_USB1_XHCI_BASEADDR}
include/configs/zynq_zc70x.h +0 -1
@@ -11,7 +11,6 @@#define __CONFIG_ZYNQ_ZC70X_H#define CONFIG_ZYNQ_I2C0 -#define CONFIG_ZYNQ_EEPROM #include <configs/zynq-common.h>
--
2.7.4
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
PATCH 1/2 eeprom: Added Kconfig support for ZYNQ_EEPROM
Quoted 84 lines · Vipul Kumar
This patch added
Kconfigsupport forZYNQ_EEPROM
and enabled it in respective defconfig.Signed-off-by Vipul Kumar <[email protected]>Signed-off-by Siva Durga Prasad Paladugu <[email protected]>--- configs/xilinx_zynqmp_ep_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + drivers/misc/Kconfig | 5 +++++ include/configs/xilinx_zynqmp_ep.h | 1 - include/configs/zynq_zc70x.h | 1 - 6 files changed, 8 insertions(+), 2 deletions(-)configs/xilinx_zynqmp_ep_defconfig +1
-0@@ -58,6 +58,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_CADENCE=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/zynq_zc702_defconfig +1
-0@@ -40,6 +40,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_EEPROM=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=yconfigs/zynq_zc706_defconfig +1
-0@@ -40,6 +40,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_EEPROM=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=ydrivers/misc/Kconfig +5
-0@@ -214,6 +214,11 @@ config SPL_I2C_EEPROM This option is an SPL-variant of the I2C_EEPROM option. See the help of I2C_EEPROM for details. +config ZYNQ_EEPROM + bool "Enable driver for ZYNQ EEPROM" + help + This enables the EEPROM driver for Zynq. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDRinclude/configs/xilinx_zynqmp_ep.h +0
-1@@ -15,7 +15,6 @@#define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000#define CONFIG_ZYNQ_SDHCI_MIN_FREQ (CONFIG_ZYNQ_SDHCI_MAX_FREQ >> 9) -#define CONFIG_ZYNQ_EEPROM #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR, \ ZYNQMP_USB1_XHCI_BASEADDR}include/configs/zynq_zc70x.h +0
-0
include/configs/zynq_zc70x.h line 16
Quoted 7 lines
include/configs/zynq_zc70x.h +0
-1@@ -11,7 +11,6 @@#define __CONFIG_ZYNQ_ZC70X_H#define CONFIG_ZYNQ_I2C0 -#define CONFIG_ZYNQ_EEPROM #include <configs/zynq-common.h>
This symbol just enables some config options which were already moved to Kconfig.
125 /* EEPROM */
126 #ifdef CONFIG_ZYNQ_EEPROM
127 # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 128 # define CONFIG_SYS_I2C_EEPROM_ADDR 0x54 129 # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 130 # define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 131 # define CONFIG_SYS_EEPROM_SIZE 1024 /* Bytes */
132 #endif
It means setup that macros via Kconfig and get rid of this symbol completely.
Also there is no setting for zynqmp at all it means all zynqmp setting should be removed.
M
PATCH 2/2 eeprom: Added Kconfig support for eeprom u-boot headers
In reply to Vipul KumarThis patch added Kconfig support for CONFIG_ZYNQ_EEPROM_BUS and CONFIG_ZYNQ_GEM_EEPROM_ADDR and enabled it in respective defconfig.
--- configs/syzygy_hub_defconfig | 1 + configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revA_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ configs/zynq_zybo_defconfig | 1 + drivers/misc/Kconfig | 13 +++++++++++++ include/configs/syzygy_hub.h | 1 - include/configs/xilinx_zynqmp_zcu102.h | 2 -- include/configs/zynq_zybo.h | 1 - 9 files changed, 21 insertions(+), 4 deletions(-)
configs/syzygy_hub_defconfig +1 -0
@@ -34,6 +34,7 @@ CONFIG_OF_EMBED=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x57 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_PHY_MARVELL=y
configs/xilinx_zynqmp_zcu102_rev1_0_defconfig +2 -0
@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y
configs/xilinx_zynqmp_zcu102_revA_defconfig +2 -0
@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y
configs/xilinx_zynqmp_zcu102_revB_defconfig +2 -0
@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y
configs/zynq_zybo_defconfig +1 -0
@@ -39,6 +39,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x50 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=y
drivers/misc/Kconfig +13 -0
@@ -219,6 +219,19 @@ config ZYNQ_EEPROM help This enables the EEPROM driver for Zynq. +config ZYNQ_EEPROM_BUS + int "Define the EEPROM bus number" + depends on ARCH_ZYNQMP + default -1 + help + Define the EEPROM bus number. + +config ZYNQ_GEM_EEPROM_ADDR + hex "Define GEM EEPROM address" + default 0x0 + help + Define the EEPROM address for GEM. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDR
include/configs/syzygy_hub.h +0 -1
@@ -13,7 +13,6 @@#define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x57#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_EXTRA_ENV_SETTINGS \
include/configs/xilinx_zynqmp_zcu102.h +0 -2
@@ -42,8 +42,6 @@#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_EEPROM_BUS 5 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0x20#include <configs/xilinx_zynqmp.h>
include/configs/zynq_zybo.h +0 -1
@@ -14,7 +14,6 @@#define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x50#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_DISPLAY #define CONFIG_I2C_EDID
--
2.7.4
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
PATCH 2/2 eeprom: Added Kconfig support for eeprom u-boot headers
Quoted 86 lines · Vipul Kumar
This patch added
Kconfigsupport forCONFIG_ZYNQ_EEPROM_BUSandCONFIG_ZYNQ_GEM_EEPROM_ADDRand enabled it in respective defconfig.Signed-off-by Vipul Kumar <[email protected]>Signed-off-by Siva Durga Prasad Paladugu <[email protected]>--- configs/syzygy_hub_defconfig | 1 + configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revA_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ configs/zynq_zybo_defconfig | 1 + drivers/misc/Kconfig | 13 +++++++++++++ include/configs/syzygy_hub.h | 1 - include/configs/xilinx_zynqmp_zcu102.h | 2 -- include/configs/zynq_zybo.h | 1 - 9 files changed, 21 insertions(+), 4 deletions(-)configs/syzygy_hub_defconfig +1
-0@@ -34,6 +34,7 @@ CONFIG_OF_EMBED=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x57 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_PHY_MARVELL=yconfigs/xilinx_zynqmp_zcu102_rev1_0_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/xilinx_zynqmp_zcu102_revA_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/xilinx_zynqmp_zcu102_revB_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/zynq_zybo_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x50 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=ydrivers/misc/Kconfig +0
-0
drivers/misc/Kconfig config ZYNQ_EEPROM · line 224
Quoted 6 lines
drivers/misc/Kconfig +3
-0@@ -219,6 +219,19 @@ config ZYNQ_EEPROM help This enables the EEPROM driver for Zynq. +config ZYNQ_EEPROM_BUS + int "Define the EEPROM bus number" + depends on ARCH_ZYNQMP
Please add here || ARCH_ZYNQ
drivers/misc/Kconfig config ZYNQ_EEPROM · line 230
Quoted 6 lines
drivers/misc/Kconfig +6
-0+ default -1 + help + Define the EEPROM bus number. + +config ZYNQ_GEM_EEPROM_ADDR + hex "Define GEM EEPROM address"
Add dependency on ZYNQ and ZYNQMP here.
None is will use these two options.
M
Quoted 45 lines
drivers/misc/Kconfig +4
-0+ default 0x0 + help + Define the EEPROM address for GEM. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDRinclude/configs/syzygy_hub.h +0
-1@@ -13,7 +13,6 @@#define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x57#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_EXTRA_ENV_SETTINGS \include/configs/xilinx_zynqmp_zcu102.h +0
-2@@ -42,8 +42,6 @@#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_EEPROM_BUS 5 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0x20#include <configs/xilinx_zynqmp.h> include/configs/zynq_zybo.h +0
-1@@ -14,7 +14,6 @@#define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x50#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_DISPLAY #define CONFIG_I2C_EDID
PATCH 2/2 eeprom: Added Kconfig support for eeprom u-boot headers
Quoted 140 lines · Michal Simek
Quoted 86 lines · Vipul Kumar
This patch added
Kconfigsupport forCONFIG_ZYNQ_EEPROM_BUSandCONFIG_ZYNQ_GEM_EEPROM_ADDRand enabled it in respective defconfig.Signed-off-by Vipul Kumar <[email protected]>Signed-off-by Siva Durga Prasad Paladugu <[email protected]>--- configs/syzygy_hub_defconfig | 1 + configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revA_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ configs/zynq_zybo_defconfig | 1 + drivers/misc/Kconfig | 13 +++++++++++++ include/configs/syzygy_hub.h | 1 - include/configs/xilinx_zynqmp_zcu102.h | 2 -- include/configs/zynq_zybo.h | 1 - 9 files changed, 21 insertions(+), 4 deletions(-)configs/syzygy_hub_defconfig +1
-0@@ -34,6 +34,7 @@ CONFIG_OF_EMBED=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x57 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_PHY_MARVELL=yconfigs/xilinx_zynqmp_zcu102_rev1_0_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/xilinx_zynqmp_zcu102_revA_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/xilinx_zynqmp_zcu102_revB_defconfig +2
-0@@ -54,6 +54,8 @@ CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_CMD_PCA953X=y CONFIG_MISC=y +CONFIG_ZYNQ_EEPROM_BUS=5 +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x54 CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=yconfigs/zynq_zybo_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_FPGA_XILINX=y CONFIG_DM_GPIO=y +CONFIG_ZYNQ_GEM_EEPROM_ADDR=0x50 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y CONFIG_SPI_FLASH=ydrivers/misc/Kconfig +0
-0drivers/misc/Kconfig config ZYNQ_EEPROM · line 224
Quoted 6 lines
drivers/misc/Kconfig +3
-0@@ -219,6 +219,19 @@ config ZYNQ_EEPROM help This enables the EEPROM driver for Zynq. +config ZYNQ_EEPROM_BUS + int "Define the EEPROM bus number" + depends on ARCH_ZYNQMPPlease add here ||
ARCH_ZYNQdrivers/misc/Kconfig config ZYNQ_EEPROM · line 230
Quoted 6 lines
drivers/misc/Kconfig +6
-0+ default -1 + help + Define the EEPROM bus number. + +config ZYNQ_GEM_EEPROM_ADDR + hex "Define GEM EEPROM address"Add dependency on ZYNQ and ZYNQMP here.
None is will use these two options.M
Quoted 31 lines
drivers/misc/Kconfig +4
-0+ default 0x0 + help + Define the EEPROM address for GEM. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDRinclude/configs/syzygy_hub.h +0
-1@@ -13,7 +13,6 @@#define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x57#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_EXTRA_ENV_SETTINGS \include/configs/xilinx_zynqmp_zcu102.h +0
-2@@ -42,8 +42,6 @@#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_EEPROM_BUS 5 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0x20
Quoted 15 lines
Quoted 7 lines
include/configs/xilinx_zynqmp_zcu102.h +0
-0#include <configs/xilinx_zynqmp.h> include/configs/zynq_zybo.h +0
-0include/configs/zynq_zybo.h line 19
Quoted 7 lines
include/configs/zynq_zybo.h +0
-1@@ -14,7 +14,6 @@#define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_I2C1 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x50#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA#define CONFIG_DISPLAY #define CONFIG_I2C_EDID
One more thing. Based all your patches on the top of this branch.
http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/kconfig
Thanks,
Michal