Skip to contentSkip to conversation

configs: Scrub unused whitelist entries

PATCH New Marek Vasut 2 participants 3 messages Jun 16, 2019 – Jun 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: Scrub unused whitelist entries

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

---
 scripts/config_whitelist.txt | 5 -----
 1 file changed, 5 deletions(-)
scripts/config_whitelist.txt +0 -5
index 8651d569c5..5eb45a32fe 100644
@@ -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
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 configs: Scrub unused whitelist entries

Quoted 9 lines · Marek Vasut

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

Sorry, that doesn't catch everything scripts/build-whitelist.sh does which I need to re-run again along with a global re-sync.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190617/b23021d8/attachment.sig>
#2 lore raw

PATCH 1/1 configs: Scrub unused whitelist entries

Quoted 9 lines · Tom Rini
Quoted 7 lines · Marek Vasut

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

Quoted 5 lines
Quoted 2 lines

Sorry, that doesn't catch everything scripts/build-whitelist.sh does which I need to re-run again along with a global re-sync.

Ah, I wasn't aware of that, then re-run the script and send a patch.

Signature · 2 lines
Best regards,
Marek Vasut