Convert CONFIG_CMD_CHIP_CONFIG to Kconfig
authorSimon Glass <sjg@chromium.org>
Thu, 27 Apr 2017 04:28:00 +0000 (22:28 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 30 Apr 2017 17:40:57 +0000 (13:40 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_CHIP_CONFIG

Signed-off-by: Simon Glass <sjg@chromium.org>
28 files changed:
arch/powerpc/cpu/ppc4xx/Kconfig
configs/PMC405DE_defconfig
configs/arches_defconfig
configs/canyonlands_defconfig
configs/devconcenter_defconfig
configs/glacier_defconfig
configs/glacier_ramboot_defconfig
configs/haleakala_defconfig
configs/icon_defconfig
configs/intip_defconfig
configs/io64_defconfig
configs/katmai_defconfig
configs/kilauea_defconfig
configs/rainier_defconfig
configs/rainier_ramboot_defconfig
configs/sequoia_defconfig
configs/sequoia_ramboot_defconfig
configs/t3corp_defconfig
include/configs/PMC405DE.h
include/configs/canyonlands.h
include/configs/icon.h
include/configs/intip.h
include/configs/io64.h
include/configs/katmai.h
include/configs/kilauea.h
include/configs/sequoia.h
include/configs/t3corp.h
scripts/config_whitelist.txt

index a6066efe8167b66ecca945faf63470922daacf95..38121c14274cd938d00edeea5541c72986e460b5 100644 (file)
@@ -129,6 +129,14 @@ config TARGET_XILINX_PPC440_GENERIC
 
 endchoice
 
+config CMD_CHIP_CONFIG
+       bool "Enable the 'chip_config' command"
+       help
+         This command programs the I2C bootstrap EEPROM or shows a list of
+         possible configurations. The configurations are board-specific
+         and control the CPU and peripehrals clocks. The programmed
+         configuration is then used when the board boots.
+
 source "board/amcc/acadia/Kconfig"
 source "board/amcc/bamboo/Kconfig"
 source "board/amcc/bubinga/Kconfig"
index 7ac77d915b75111ab7184d552e2b30bbdad15eac..50fdbd4dab94b7e9be3f4d5609c5de5298e8f4da 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_PMC405DE=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
index da525800f2c4a82999eee49055b81fd5686c99e6..c76c8d6ebf5bce1f25009c37e3b7918deac52598 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_CANYONLANDS=y
 CONFIG_ARCHES=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_DEFAULT_DEVICE_TREE="arches"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
index 94e5e856b06fbea63cf08a9b38d37a871cce1097..cbb0f2a69fd0d406dcd71946dbaef3c01f05485b 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_CANYONLANDS=y
 CONFIG_CANYONLANDS=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_DEFAULT_DEVICE_TREE="canyonlands"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
index 0d8a0cd768a35f069e3153537251e99a3960d760..f6b6c9502858531006c2c59ef741c8d7f651eb08 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" devconcenter 0.06"
 CONFIG_4xx=y
 CONFIG_TARGET_INTIP=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="DEVCONCENTER"
index cf9a1d73a3ebe37dbd918d5021c8929b435a4d4b..5a82757b6a549acf5ba9ec88caa0e833277a0b95 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_CANYONLANDS=y
 CONFIG_GLACIER=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_DEFAULT_DEVICE_TREE="glacier"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
index bf1ae128efa89540b40b14238e50364d933ae95f..4601963930fe29ceafdf2454d9c6732e908aa24b 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_CANYONLANDS=y
 CONFIG_GLACIER=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_DEFAULT_DEVICE_TREE="glacier"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/canyonlands/u-boot-ram.lds"
index ddb0900cedd6b8f32888220e24795d081516de71..9e3d16dab9a29b70d30cea65ce15b5fad750edf5 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KILAUEA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="HALEAKALA"
 CONFIG_BOOTDELAY=5
index c2e510dd9ba9feaa10a3c3ea30b960adcc46da0a..117fcb559dbd98636b98e40e1a44631531eb7255 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_VIDEO=y
 CONFIG_4xx=y
 CONFIG_TARGET_ICON=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
index bd199564fa401ff774012d929566b1ebd299f30d..eb47db4f0c62265da9b250b18de0e358dd25ddd1 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" intip 0.06"
 CONFIG_4xx=y
 CONFIG_TARGET_INTIP=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="INTIB"
index 3eb3ff6aa3368f4dd7c4539a0ae2d10e7c8384cf..9701135f98a1c742e69eb7588f131eaa3f1a6483 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" io64 0.02"
 CONFIG_4xx=y
 CONFIG_TARGET_IO64=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
index aee12e7b99b614b7c09b25384ab2654d618e5a52..9c80f06d9491e17b749bd7ecb46f73c3244450d6 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KATMAI=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
index eea989a9d3f82a41889fd1564442e3764858f3c5..2ec7fa84d543c32b0440d90fbf838159de26dee8 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KILAUEA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="KILAUEA"
 CONFIG_BOOTDELAY=5
index aa3b9cc2f7ba16816f5323ad78d7364ae8a7d0f5..0a0b4ddd9f72c181e109b68911e0978c48225262 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAINIER"
 CONFIG_BOOTDELAY=5
index ed9eb356b456e964c99a9c499f655adb3f79ef36..6690e9b568859643ce0559b33a9df92d2d453c3e 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAINIER,SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/sequoia/u-boot-ram.lds"
 CONFIG_BOOTDELAY=5
index 554d12483b3f888872f6a45d85cbe21b8a1b6c3d..628cdd8b05b0cc8adc4c314c0358dd6ec80bdae1 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SEQUOIA"
 CONFIG_BOOTDELAY=5
index 3214d45f94dbda9cb09613fda879a4e6697c128f..ddafa2758121d16d0bdf33c8b240b960c9a2eba9 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SEQUOIA,SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/sequoia/u-boot-ram.lds"
 CONFIG_BOOTDELAY=5
index a804e95b40adeeb045408fb11f094643766d164f..21c4c892124c1f501cb88e71cbb24efbc45fdd90 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_T3CORP=y
+CONFIG_CMD_CHIP_CONFIG=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
index a7d7bbf10b1aa0ea211469162b8d924344342f4a..2c5bcbd60e24ba34b64418acdc6921ebceec66d4 100644 (file)
@@ -48,7 +48,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
index 9babc3d62cce7b643d095a6000553e774b8caa64..5c1422d3472a9fef2db69c79c68d1540a5ed5032 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #if defined(CONFIG_ARCHES)
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
index 3cb2196d792acb1e9208495ac689238632995c49..b459366719cd5780ad48a740f1dc9b71275d1edb 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
index 34770598652ab1e13439841dcbca2864e7d5ed37..7f73b66b5538c8f8062459d5e68ace21948f0809 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
index 8619de4af9a4f4f565c1e9127ce903181591b5bf..8e754fc10b7e682ee43e334ee82c0d59f6bfa812 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DTT
 
 #define CONFIG_SYS_POST_MEMORY_ON      CONFIG_SYS_POST_MEMORY
index 45c1e06fbd7fcba65c4a387dee8257f32a61dba3..f33bfd6f44e44ad5c85941b2997dbea8c502aff1 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
index 43eb405e6386f478b6e819eca4bb25f606d9a1a5..f89f0ce92d14b5a046f1aa35e5e76be291654815 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
index b0475229c3423fd469013639c59ea4d1ff7e44f9..f5b03caf830b410b283fabe53b0c14e1ec5c12fe 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
index d3f20507361661f31e28e6c624314a00ee58b0bd..964115f980c28350d4ccf9f8c4e625716a400fdf 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CHIP_CONFIG
 #define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
index 56af3c7a5a0118db844eae67752bfd9b427170a4..7db1365d2bc7115de2e7037eb21e76e1ff9e192c 100644 (file)
@@ -393,7 +393,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_CHIP_CONFIG
 CONFIG_CMD_CLEAR
 CONFIG_CMD_CLK
 CONFIG_CMD_CRAMFS