[U-Boot] [PATCH 1/3] MIPS: Drop unreferenced CONFIG_* defines

Tuomas Tynkkynen tuomas at tuxera.com
Mon Mar 5 23:46:37 UTC 2018


The following config symbols are only defined once and never referenced
anywhere else:

CONFIG_DBAU1X00
CONFIG_PB1X00

Most of them are config symbols named after the respective boards which
seems to have been a standard practice at some point.

Signed-off-by: Tuomas Tynkkynen <tuomas at tuxera.com>
---
 include/configs/dbau1x00.h   | 1 -
 include/configs/pb1x00.h     | 1 -
 scripts/config_whitelist.txt | 2 --
 3 files changed, 4 deletions(-)

diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
index ebd2c23960..f00111a8c4 100644
--- a/include/configs/dbau1x00.h
+++ b/include/configs/dbau1x00.h
@@ -12,7 +12,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_DBAU1X00		1
 #define CONFIG_SOC_AU1X00	1  /* alchemy series cpu */
 
 #ifdef CONFIG_DBAU1000
diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h
index 972c13a625..8adb7d7cfa 100644
--- a/include/configs/pb1x00.h
+++ b/include/configs/pb1x00.h
@@ -12,7 +12,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_PB1X00		1
 #define CONFIG_SOC_AU1X00	1  /* alchemy series cpu */
 
 #ifdef CONFIG_PB1000
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a42b64d209..f63d95f967 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -325,7 +325,6 @@ CONFIG_DA850_AM18X_EVM
 CONFIG_DA850_EVM_MAX_CPU_CLK
 CONFIG_DA8XX_GPIO
 CONFIG_DBAU1000
-CONFIG_DBAU1X00
 CONFIG_DBGU
 CONFIG_DBG_MONITOR
 CONFIG_DB_784MP_GP
@@ -1496,7 +1495,6 @@ CONFIG_PARAVIRT
 CONFIG_PB1000
 CONFIG_PB1100
 CONFIG_PB1500
-CONFIG_PB1X00
 CONFIG_PCA953X
 CONFIG_PCA9698
 CONFIG_PCI1
-- 
2.16.1



More information about the U-Boot mailing list