mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
i2c: Added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET
This patch added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
ce3c9a59af
commit
5c32de202b
9 changed files with 11 additions and 3 deletions
|
@ -36,6 +36,7 @@ CONFIG_FPGA_XILINX=y
|
|||
CONFIG_FPGA_ZYNQPL=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_SYS_I2C_ZYNQ=y
|
||||
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0xFA
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_PHY_MARVELL=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_DM_GPIO=y
|
|||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_SYS_I2C_ZYNQ=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_DM_GPIO=y
|
|||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_SYS_I2C_ZYNQ=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_DM_GPIO=y
|
|||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_SYS_I2C_ZYNQ=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_FPGA_XILINX=y
|
|||
CONFIG_FPGA_ZYNQPL=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_SYS_I2C_ZYNQ=y
|
||||
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0xFA
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
|
|
|
@ -214,6 +214,12 @@ 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_GEM_I2C_MAC_OFFSET
|
||||
hex "Set the I2C MAC offset"
|
||||
default 0x0
|
||||
help
|
||||
Set the MAC offset for i2C.
|
||||
|
||||
if I2C_EEPROM
|
||||
|
||||
config SYS_I2C_EEPROM_ADDR
|
||||
|
|
|
@ -14,7 +14,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 \
|
||||
"fit_image=fit.itb\0" \
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#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>
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#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
|
||||
|
||||
|
|
Loading…
Reference in a new issue