[U-Boot] [PATCH] configs: Scrub unused whitelist entries

Marek Vasut marek.vasut at gmail.com
Sun Jun 16 01:42:20 UTC 2019


Remove unused whitelist entries using the following script:

sed "s@^CONFIG_@@" scripts/config_whitelist.txt | while read line ; do
	[ `git grep -l $line | wc -l` -le 1 ] &&
	sed -i "/$line/ d" scripts/config_whitelist.txt ;
done

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Tom Rini <trini at konsulko.com>
---
 scripts/config_whitelist.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 8651d569c5..5eb45a32fe 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -923,9 +923,6 @@ CONFIG_IO_TRACE
 CONFIG_IPADDR
 CONFIG_IPADDR1
 CONFIG_IPADDR2
-CONFIG_IPAM390_GPIO_BOOTMODE
-CONFIG_IPAM390_GPIO_LED_GREEN
-CONFIG_IPAM390_GPIO_LED_RED
 CONFIG_IPROC
 CONFIG_IP_DEFRAG
 CONFIG_IRAM_BASE
@@ -4228,7 +4225,6 @@ CONFIG_SYS_ZYNQ_QSPI_WAIT
 CONFIG_SYS_ZYNQ_SPI_WAIT
 CONFIG_SYS_i2C_FSL
 CONFIG_TAM3517_SETTINGS
-CONFIG_TAM3517_SW3_SETTINGS
 CONFIG_TCA642X
 CONFIG_TEGRA_BOARD_STRING
 CONFIG_TEGRA_CLOCK_SCALING
@@ -4461,7 +4457,6 @@ CONFIG_X86_REFCODE_ADDR
 CONFIG_X86_REFCODE_RUN_ADDR
 CONFIG_XGI_XG22_BASE
 CONFIG_XILINX_SPI_IDLE_VAL
-CONFIG_XR16L2751
 CONFIG_XSENGINE
 CONFIG_XTFPGA
 CONFIG_YAFFSFS_PROVIDE_VALUES
-- 
2.20.1



More information about the U-Boot mailing list