]> git.sur5r.net Git - u-boot/commitdiff
ARM: Drop unreferenced CONFIG_MACH_* defines
authorTuomas Tynkkynen <tuomas@tuxera.com>
Thu, 21 Dec 2017 01:58:53 +0000 (03:58 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 10 Jan 2018 13:05:50 +0000 (08:05 -0500)
These macros are all defined once and never checked or used anywhere:

CONFIG_MACH_ASPENITE
CONFIG_MACH_DAVINCI_CALIMAIN
CONFIG_MACH_DOCKSTAR
CONFIG_MACH_EDMINIV2
CONFIG_MACH_GOFLEXHOME
CONFIG_MACH_GONI
CONFIG_MACH_GURUPLUG
CONFIG_MACH_KM_KIRKWOOD
CONFIG_MACH_OPENRD_BASE
CONFIG_MACH_SHEEVAPLUG

Almost all of them were only used for the mach_is_foo() logic in
arch/arm/asm/mach-types.h that were dropped in
commit f9dadaef8b75fa ("arm: Re-sync asm/mach-types.h with
Linux Kernel v4.9")

Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
include/configs/aspenite.h
include/configs/calimain.h
include/configs/dockstar.h
include/configs/edminiv2.h
include/configs/goflexhome.h
include/configs/guruplug.h
include/configs/km/km_arm.h
include/configs/openrd.h
include/configs/s5p_goni.h
include/configs/sheevaplug.h
scripts/config_whitelist.txt

index 36d74f3b26840f950b44c2ea59a3426903d08120..d2f4c441c8a85a7b92bc2e440ce4f0fe6f5cecdc 100644 (file)
@@ -16,7 +16,6 @@
 #define CONFIG_SHEEVA_88SV331xV5       1       /* CPU Core subversion */
 #define CONFIG_ARMADA100               1       /* SOC Family Name */
 #define CONFIG_ARMADA168               1       /* SOC Used on this Board */
-#define CONFIG_MACH_ASPENITE                   /* Machine type */
 #define CONFIG_SKIP_LOWLEVEL_INIT      /* disable board lowlevel_init */
 
 /*
index 60068d1fbb91f534fb8da3081414c3eaa450b72d..7686592ee186e4b4a877ff116a342b009ff8205c 100644 (file)
@@ -21,7 +21,6 @@
 /*
  * SoC Configuration
  */
-#define CONFIG_MACH_DAVINCI_CALIMAIN
 #define CONFIG_SOC_DA8XX               /* TI DA8xx SoC */
 #define CONFIG_SOC_DA850               /* TI DA850 SoC */
 #define CONFIG_SYS_EXCEPTION_VECTORS_HIGH
index 1802a6e5c0d80c8f0261477bba4c68ee56881260..72386a671e4c263e868e5465b60cb5ba98491ea1 100644 (file)
@@ -17,7 +17,6 @@
  */
 #define CONFIG_FEROCEON_88FR131        1       /* CPU Core subversion */
 #define CONFIG_KW88F6281       1       /* SOC Name */
-#define CONFIG_MACH_DOCKSTAR   /* Machine type */
 #define CONFIG_SKIP_LOWLEVEL_INIT      /* disable board lowlevel_init */
 
 /*
index 2b7a5d7c5cfb9fd746e06162cc2c2e987e30966a..b77cfc5d21d83e52837a83d75047f4c449a8df4d 100644 (file)
@@ -35,7 +35,6 @@
 #define CONFIG_MARVELL         1
 #define CONFIG_FEROCEON                1       /* CPU Core subversion */
 #define CONFIG_88F5182         1       /* SOC Name */
-#define CONFIG_MACH_EDMINIV2   1       /* Machine type */
 
 #include <asm/arch/orion5x.h>
 /*
index 16e55b0c2b356cbd08db82b00d35987bce008eef..0dc8ed143e2f5671d286dd2a0a8fecf462d2b745 100644 (file)
@@ -20,7 +20,6 @@
  */
 #define CONFIG_FEROCEON_88FR131        1       /* CPU Core subversion */
 #define CONFIG_KW88F6281       1       /* SOC Name */
-#define CONFIG_MACH_GOFLEXHOME         /* Machine type */
 #define CONFIG_SKIP_LOWLEVEL_INIT      /* disable board lowlevel_init */
 
 /*
index b13c6c927957ef6b31de84365916c886c5206fa0..dcb2a698f8703f316912a997196a340f818170bb 100644 (file)
@@ -14,7 +14,6 @@
  * High Level Configuration Options (easy to change)
  */
 #define CONFIG_SHEEVA_88SV131  1       /* CPU Core subversion */
-#define CONFIG_MACH_GURUPLUG   /* Machine type */
 
 /*
  * Standard filesystems
index 277f8be60e12322281ea82515dfe848b2869349a..ed58d1e76c59123b5164dcc77b352473bd0a7907 100644 (file)
@@ -26,7 +26,6 @@
 #define CONFIG_MARVELL
 #define CONFIG_FEROCEON_88FR131                /* CPU Core subversion */
 #define CONFIG_KW88F6281               /* SOC Name */
-#define CONFIG_MACH_KM_KIRKWOOD                /* Machine type */
 
 #define CONFIG_MACH_TYPE       MACH_TYPE_KM_KIRKWOOD
 
index 1bea7f58cb9d822312f7b9be0b5d8b98b9423fdf..0165d9cf0e5091b989c3eb2beafba0964c283b20 100644 (file)
@@ -19,7 +19,6 @@
  */
 #define CONFIG_SHEEVA_88SV131  1       /* CPU Core subversion */
 #define CONFIG_KW88F6281       1       /* SOC Name */
-#define CONFIG_MACH_OPENRD_BASE        /* Machine type */
 #define CONFIG_SKIP_LOWLEVEL_INIT      /* disable board lowlevel_init */
 
 /*
index 86835e735e1ead34a83379f6e88ab67f1116df45..1aa1671738ee5cc3acf707824593eabe2ee14777 100644 (file)
@@ -15,7 +15,6 @@
 #define CONFIG_SAMSUNG         1       /* in a SAMSUNG core */
 #define CONFIG_S5P             1       /* which is in a S5P Family */
 #define CONFIG_S5PC110         1       /* which is in a S5PC110 */
-#define CONFIG_MACH_GONI       1       /* working with Goni */
 
 #include <linux/sizes.h>
 #include <asm/arch/cpu.h>              /* get chip and board defs */
index 9acd4d32b34c43ad9fdcdff653fd434ac16c52c4..ebed1d526c97aa981ae0d0815828e309612a4233 100644 (file)
@@ -14,7 +14,6 @@
  * High Level Configuration Options (easy to change)
  */
 #define CONFIG_FEROCEON_88FR131        1       /* CPU Core subversion */
-#define CONFIG_MACH_SHEEVAPLUG /* Machine type */
 
 /*
  * Commands configuration
index a27dc4fc3822f1d8f406b8229bab39832a76cdca..4943f9fd44e6234d239329db241cc7648c33fa6d 100644 (file)
@@ -1294,18 +1294,8 @@ CONFIG_MACB1_PHY
 CONFIG_MACB2_PHY
 CONFIG_MACB3_PHY
 CONFIG_MACB_SEARCH_PHY
-CONFIG_MACH_ASPENITE
-CONFIG_MACH_DAVINCI_CALIMAIN
 CONFIG_MACH_DAVINCI_DA850_EVM
-CONFIG_MACH_DOCKSTAR
-CONFIG_MACH_EDMINIV2
-CONFIG_MACH_GOFLEXHOME
-CONFIG_MACH_GONI
-CONFIG_MACH_GURUPLUG
-CONFIG_MACH_KM_KIRKWOOD
 CONFIG_MACH_OMAPL138_LCDK
-CONFIG_MACH_OPENRD_BASE
-CONFIG_MACH_SHEEVAPLUG
 CONFIG_MACH_SPECIFIC
 CONFIG_MACH_TYPE
 CONFIG_MACH_TYPE_COMPAT_REV