]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_KIRKWOOD_GPIO to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 17 Dec 2021 23:08:46 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:19 +0000 (16:20 -0500)
This converts the following to Kconfig:
   CONFIG_KIRKWOOD_GPIO

Signed-off-by: Tom Rini <trini@konsulko.com>
28 files changed:
configs/SBx81LIFKW_defconfig
configs/SBx81LIFXCAT_defconfig
configs/d2net_v2_defconfig
configs/dns325_defconfig
configs/inetspace_v2_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge5un_defconfig
configs/kmnusa_defconfig
configs/kmsuse2_defconfig
configs/lschlv2_defconfig
configs/lsxhl_defconfig
configs/nas220_defconfig
configs/net2big_v2_defconfig
configs/netspace_lite_v2_defconfig
configs/netspace_max_v2_defconfig
configs/netspace_mini_v2_defconfig
configs/netspace_v2_defconfig
drivers/gpio/Kconfig
include/configs/SBx81LIFKW.h
include/configs/SBx81LIFXCAT.h
include/configs/dns325.h
include/configs/km/km_arm.h
include/configs/lacie_kw.h
include/configs/lsxl.h
include/configs/nas220.h
scripts/config_whitelist.txt

index ec7c7eb29565b136de8a5b0deacdfecac9533e8d..77f44f6329edc5432c86071bd5691be56d8eb416 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_ENV_SPI_MAX_HZ=20000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
index a3ddabd65758d7d105a2297e4d7ea5b4d6b6ae90..b84e3bd9d6ac402657a35ec50ad0ea9ddbbff8e9 100644 (file)
@@ -37,6 +37,7 @@ CONFIG_ENV_SPI_MAX_HZ=20000000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
index 8e1bb2d4a01a59119c629dabb202ed8517453367..a856202d110e6a7d91eb44f98fabca550fceb73a 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index c1da0f545c63e99e8e32c035a4e1ff36d930b3cb..144fd30706b5bff03a044a549abf6f82394fa64a 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
+CONFIG_KIRKWOOD_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index 0af49d45f0c36d5bc3fce417b804dc290bb55f3b..8779e58b932249e56b2a10a6d542281cc408256a 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index c9832d3d51e425c4a281ff37f9b522cae97a3c48..f4b1abfd6a9d6aa26f4bb77afbedabc7f575fda2 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index b0a268e370d53e6574f9e7a5777715f05f71a823..eba4f097775d3d703d5e2b57f607a2792f8c7df8 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index 38c4c1e2e483f3dbff6d26efcbdffb78020b1ca1..5d19c51176021ef06d945a739f59f438f4a2ecc3 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index f46f45d64abf7429c21599ba4138db8293a94b7f..9124504e3232a6af74481af2347f3675f96946c3 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index 36965722cde35855105fabdbba279b57ed726bc2..d81c7876120203c7c2526d542a59a3eb8d559097 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index a3079c04327e5dc566cd0c5c1b5bc7347120e387..d274c9576414ce1d09e2a1403e63267041e03d3d 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_NETCONSOLE=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
index dfcd39b4d5f49caa4f37d6beed01bb7c6a2fdd7a..497da09d43998c7142d00c96bf5e2cc6d1c673f6 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
index 21e48949f9f0092db9abe47de49e8f620ca2486b..cadeb9afd3cb41da9ad9614f6ebec5869d8f5830 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
index d078714c2354022c4098bbe75b97f4e77f35197e..259eb2fa32ce1601e4fdaa588beec6a460d2ee13 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
+CONFIG_KIRKWOOD_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index ed60c48a16bb9524c9a2b91d0c7a2d3884609329..985f530fb8738c9e78189f9eacc3e9ab748f2292 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index 51b413c990343cd3ea823fa71fd40adf316bff8e..668f4ea291d43e0f6c9027e91572b6ceadb49619 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index 746854df77a539d894bea8c1f446019f39d7fcf9..25ce3c61a1f8f53fc5eb2ae6fb6ae622933f8a1c 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index 4cb5036fe96f84cc476997533b866f8f66bdebf7..0c9a3036eb133e8de14ad8e7f1b39c4494ce22ec 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_BLK=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index 51243a22a2dd9181ad29ff832460ab1f0925b136..8f662edd16824eebe313278048cb1a6b419be637 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_ADDR=0x70000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SATA_MV=y
+CONFIG_KIRKWOOD_GPIO=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x0
index 40abc33772eb0a174d652ee806119a23bed37e17..b41a755fc7586ed1821542b8dd72ac3a9c3d873b 100644 (file)
@@ -177,6 +177,11 @@ config HSDK_CREG_GPIO
        help
          This driver supports CREG GPIOs on Synopsys HSDK SOC.
 
+config KIRKWOOD_GPIO
+       bool "Kirkwood GPIO driver"
+       help
+         This drdiver supports GPIOs on Kirkwood platforms
+
 config LPC32XX_GPIO
        bool "LPC32XX GPIO driver"
        depends on DM
index 6edc2b628ab4c1099af36ab0563f3ffc089d8ef5..dbaffc635d24212d0a3a6ef2325b1aaaa3152d53 100644 (file)
@@ -12,7 +12,6 @@
 #define CONFIG_KIRKWOOD_EGIGA_INIT     /* Enable GbePort0/1 for kernel */
 #define CONFIG_KIRKWOOD_PCIE_INIT      /* Enable PCIE Port0 */
 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8  /* Set RGMII Pad voltage to 1.8V */
-#define CONFIG_KIRKWOOD_GPIO   1
 
 /*
  * NS16550 Configuration
index 50d02d3c1c9720bdbf07c10820a1f45c818025d0..bbd3ccc6d9d2098e4548949e2ffcc3f0e90fc1e1 100644 (file)
@@ -12,7 +12,6 @@
 #define CONFIG_KIRKWOOD_EGIGA_INIT     /* Enable GbePort0/1 for kernel */
 #define CONFIG_KIRKWOOD_PCIE_INIT      /* Enable PCIE Port0 */
 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8  /* Set RGMII Pad voltage to 1.8V */
-#define CONFIG_KIRKWOOD_GPIO   1
 
 /*
  * NS16550 Configuration
index e35c16add4ddaa83a6ec8d37e96b070588751ce2..0590704000ec7b50c5d5a5950ce8b49a8522a3d4 100644 (file)
@@ -26,7 +26,6 @@
 /*
  * Enable GPI0 support
  */
-#define CONFIG_KIRKWOOD_GPIO
 
 /*
  * Environment variables configurations
index 6501884d32ce3f0d126826afda5fceeae787a40b..a485c3ac6d1d3f00ebf684e86531768a3a389d76 100644 (file)
@@ -68,7 +68,6 @@
 #undef CONFIG_I2C_MVTWSI
 #define CONFIG_SYS_I2C_INIT_BOARD
 
-#define        CONFIG_KIRKWOOD_GPIO            /* Enable GPIO Support */
 #define CONFIG_SYS_NUM_I2C_BUSES       6
 #define CONFIG_SYS_I2C_MAX_HOPS                1
 #define CONFIG_SYS_I2C_BUSES   {       {0, {I2C_NULL_HOP} }, \
index 0d6dd30e0c4f10b63041f476f7635a291b196fdb..046f1888cb186134f749eadc956c70bbc7dd91a3 100644 (file)
@@ -41,7 +41,6 @@
 /*
  * Enable GPI0 support
  */
-#define CONFIG_KIRKWOOD_GPIO
 
 /*
  * Enable I2C support
index fad69ab1f85483a20591788b35bd4e9b84f44ca9..afa0206fb93a5d58f0e5fb683d3910f158f69df0 100644 (file)
@@ -11,8 +11,6 @@
  * General configuration options
  */
 
-#define CONFIG_KIRKWOOD_GPIO
-
 #include "mv-common.h"
 
 /* loading initramfs images without uimage header */
index 12480d9d55255069e12a6c61a760daaaba3413d0..a4347ae1aa152d8c96f742718c2546edae76e70d 100644 (file)
@@ -63,6 +63,4 @@
  * EFI partition
  */
 
-#define CONFIG_KIRKWOOD_GPIO
-
 #endif /* _CONFIG_NAS220_H */
index 454c612497573958bc5617027a465d047f8ad429..9f1a9165a043c45cb7e7c870d0ba1a79f64b2a68 100644 (file)
@@ -470,7 +470,6 @@ CONFIG_JRSTARTR_JR0
 CONFIG_KEEP_SERVERADDR
 CONFIG_KEY_REVOCATION
 CONFIG_KIRKWOOD_EGIGA_INIT
-CONFIG_KIRKWOOD_GPIO
 CONFIG_KIRKWOOD_PCIE_INIT
 CONFIG_KIRKWOOD_RGMII_PAD_1V8
 CONFIG_KM8321