mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
Convert CONFIG_CMD_PCA953X to Kconfig
This converts the following to Kconfig: CONFIG_CMD_PCA953X Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
978f0854da
commit
0091362ce5
26 changed files with 22 additions and 12 deletions
1
README
1
README
|
@ -812,7 +812,6 @@ The following options need to be configured:
|
|||
CONFIG_CMD_MII * MII utility commands
|
||||
CONFIG_CMD_NET bootp, tftpboot, rarpboot
|
||||
CONFIG_CMD_NFS NFS support
|
||||
CONFIG_CMD_PCA953X * PCA953x I2C gpio commands
|
||||
CONFIG_CMD_PCA953X_INFO * PCA953x I2C gpio info command
|
||||
CONFIG_CMD_PCI * pciinfo
|
||||
CONFIG_CMD_PCMCIA * PCMCIA support
|
||||
|
|
|
@ -96,6 +96,7 @@ config TARGET_STRIDER
|
|||
bool "Support strider"
|
||||
select SYS_FSL_ERRATUM_ESDHC111
|
||||
imply ENV_IS_IN_FLASH
|
||||
imply CMD_PCA953X
|
||||
|
||||
endchoice
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_LED_STATUS=y
|
||||
CONFIG_LED_STATUS_GPIO=y
|
||||
CONFIG_LED_STATUS0=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_CMD_FS_GENERIC=y
|
|||
CONFIG_CMD_MTDPARTS=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_EFI_PARTITION=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_LED_STATUS=y
|
||||
CONFIG_LED_STATUS_GPIO=y
|
||||
CONFIG_LED_STATUS0=y
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
|
|
@ -24,6 +24,7 @@ CONFIG_CMD_DHCP=y
|
|||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -23,6 +23,7 @@ CONFIG_CMD_DHCP=y
|
|||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_DFU_RAM=y
|
|||
CONFIG_FPGA_XILINX=y
|
||||
CONFIG_FPGA_ZYNQMPPL=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_DFU_RAM=y
|
|||
CONFIG_FPGA_XILINX=y
|
||||
CONFIG_FPGA_ZYNQMPPL=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_CMD_SNTP=y
|
|||
CONFIG_CMD_DATE=y
|
||||
CONFIG_CMD_JFFS2=y
|
||||
CONFIG_CMD_IRQ=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_DS4510=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
|
|||
# CONFIG_CMD_HASH is not set
|
||||
CONFIG_CMD_JFFS2=y
|
||||
# CONFIG_CMD_IRQ is not set
|
||||
CONFIG_CMD_PCA953X=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PHYLIB=y
|
||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
|
|||
CONFIG_CMD_JFFS2=y
|
||||
# CONFIG_CMD_IRQ is not set
|
||||
CONFIG_SYS_FSL_DDR2=y
|
||||
CONFIG_CMD_PCA953X=y
|
||||
CONFIG_DS4510=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
|
|||
# CONFIG_CMD_HASH is not set
|
||||
CONFIG_CMD_JFFS2=y
|
||||
# CONFIG_CMD_IRQ is not set
|
||||
CONFIG_CMD_PCA953X=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PHYLIB=y
|
||||
|
|
|
@ -109,6 +109,15 @@ config OMAP_GPIO
|
|||
Support GPIO controllers on the TI OMAP3/4/5 and related (such as
|
||||
AM335x/AM43xx/AM57xx/DRA7xx/etc) families of SoCs.
|
||||
|
||||
config CMD_PCA953X
|
||||
bool "Enable the pca953x command"
|
||||
help
|
||||
Deprecated: This should be converted to driver model.
|
||||
|
||||
This command provides access to a pca953x GPIO device using the
|
||||
legacy GPIO interface. Several subcommands are provided which mirror
|
||||
the standard 'gpio' command. It should use that instead.
|
||||
|
||||
config PM8916_GPIO
|
||||
bool "Qualcomm PM8916 PMIC GPIO/keypad driver"
|
||||
depends on DM_GPIO && PMIC_PM8916
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
/* PCA9555 GPIO expander support */
|
||||
#define CONFIG_PCA953X
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
|
||||
#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
|
||||
|
|
|
@ -161,7 +161,6 @@
|
|||
* First select the I2C0 bus with "i2c dev 0", then use "pca953x" command.
|
||||
*/
|
||||
#define CONFIG_PCA953X
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_SYS_I2C_PCA953X_ADDR 0x26
|
||||
#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x26, 16} }
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#define CONFIG_PCA953X
|
||||
#define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
|
||||
#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
|
||||
/* I2C Configs */
|
||||
|
|
|
@ -137,7 +137,6 @@
|
|||
#define CONFIG_SYS_MALLOC_LEN (1 << 20)
|
||||
|
||||
/* Command line configuration */
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -301,7 +301,6 @@
|
|||
#define CONFIG_SYS_FSL_I2C_OFFSET 0x3000
|
||||
|
||||
#define CONFIG_PCA953X /* NXP PCA9554 */
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x24, 16}, {0x25, 16}, {0x26, 16}, \
|
||||
{0x3c, 8}, {0x3d, 8}, {0x3e, 8} }
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
|
||||
#define CONFIG_SYS_I2C_ZYNQ
|
||||
#define CONFIG_PCA953X
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
|
||||
#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
|
||||
|
|
|
@ -483,7 +483,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
|||
/*
|
||||
* Command configuration.
|
||||
*/
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
|
|
@ -286,7 +286,6 @@
|
|||
/*
|
||||
* Command configuration.
|
||||
*/
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
|
|
@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
|
|||
/*
|
||||
* Command configuration.
|
||||
*/
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
|
|
@ -335,7 +335,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
|
|||
/*
|
||||
* Command configuration.
|
||||
*/
|
||||
#define CONFIG_CMD_PCA953X
|
||||
#define CONFIG_CMD_PCA953X_INFO
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
|
|
@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
|
|||
CONFIG_CMDLINE_EDITING
|
||||
CONFIG_CMDLINE_PS_SUPPORT
|
||||
CONFIG_CMDLINE_TAG
|
||||
CONFIG_CMD_PCA953X
|
||||
CONFIG_CMD_PCA953X_INFO
|
||||
CONFIG_CMD_PCI
|
||||
CONFIG_CMD_PCI_ENUM
|
||||
|
|
Loading…
Reference in a new issue