[U-Boot] [PATCH] sh: delete redundant CONFIG_SH definition

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Jan 6 07:43:35 CET 2014


CONFIG_SH is defined in arch/sh/config.mk.
It is not necessary to define it in each board
header config header file.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
 include/configs/MigoR.h      | 1 -
 include/configs/ap325rxa.h   | 1 -
 include/configs/ap_sh4a_4a.h | 1 -
 include/configs/ecovec.h     | 1 -
 include/configs/espt.h       | 1 -
 include/configs/mpr2.h       | 1 -
 include/configs/ms7720se.h   | 1 -
 include/configs/ms7722se.h   | 1 -
 include/configs/ms7750se.h   | 1 -
 include/configs/r0p7734.h    | 1 -
 include/configs/r2dplus.h    | 1 -
 include/configs/r7780mp.h    | 1 -
 include/configs/rsk7203.h    | 1 -
 include/configs/rsk7264.h    | 1 -
 include/configs/rsk7269.h    | 1 -
 include/configs/sh7752evb.h  | 1 -
 include/configs/sh7753evb.h  | 1 -
 include/configs/sh7757lcr.h  | 1 -
 include/configs/sh7763rdp.h  | 1 -
 include/configs/sh7785lcr.h  | 1 -
 include/configs/shmin.h      | 1 -
 21 files changed, 21 deletions(-)

diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
index 9fd4551..47e3322 100644
--- a/include/configs/MigoR.h
+++ b/include/configs/MigoR.h
@@ -10,7 +10,6 @@
 #define __MIGO_R_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MIGO_R		1
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index 933de52..a3c6b2b 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -11,7 +11,6 @@
 #define __AP325RXA_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7723	1
 #define CONFIG_AP325RXA	1
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index 83a5c37..7478386 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -10,7 +10,6 @@
 #define __AP_SH4A_4A_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_SH4A		1
 #define CONFIG_CPU_SH7734	1
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index 3483cf1..a8f6dc9 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -23,7 +23,6 @@
  */
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_SH4A		1
 #define CONFIG_CPU_SH7724	1
diff --git a/include/configs/espt.h b/include/configs/espt.h
index 1bd7eec..8493c24 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -10,7 +10,6 @@
 #ifndef __ESPT_H
 #define __ESPT_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7763	1
 #define CONFIG_ESPT	1
diff --git a/include/configs/mpr2.h b/include/configs/mpr2.h
index fcf237e..47ed694 100644
--- a/include/configs/mpr2.h
+++ b/include/configs/mpr2.h
@@ -24,7 +24,6 @@
 #define CONFIG_VERSION_VARIABLE
 
 /* CPU and platform */
-#define CONFIG_SH		1
 #define CONFIG_SH3		1
 #define CONFIG_CPU_SH7720	1
 #define CONFIG_MPR2		1
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index ec8523e..029f0e7 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -9,7 +9,6 @@
 #ifndef __MS7720SE_H
 #define __MS7720SE_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH3		1
 #define CONFIG_CPU_SH7720	1
 #define CONFIG_MS7720SE		1
diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
index 54fb7c3..20f8226 100644
--- a/include/configs/ms7722se.h
+++ b/include/configs/ms7722se.h
@@ -9,7 +9,6 @@
 #ifndef __MS7722SE_H
 #define __MS7722SE_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MS7722SE		1
diff --git a/include/configs/ms7750se.h b/include/configs/ms7750se.h
index eea3bd1..d7285fd 100644
--- a/include/configs/ms7750se.h
+++ b/include/configs/ms7750se.h
@@ -9,7 +9,6 @@
 #ifndef __MS7750SE_H
 #define __MS7750SE_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7750	1
 /* #define CONFIG_CPU_SH7751	1 */
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
index dd26a71..766d9b7 100644
--- a/include/configs/r0p7734.h
+++ b/include/configs/r0p7734.h
@@ -10,7 +10,6 @@
 #define __R0P7734_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_SH4A		1
 #define CONFIG_CPU_SH7734	1
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index ddcc975..264abeb 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -3,7 +3,6 @@
 
 #undef DEBUG
 
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7751	1
 #define CONFIG_CPU_SH_TYPE_R	1
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index f5e4daa..3574c52 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -11,7 +11,6 @@
 #define __R7780RP_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4A		1
 #define CONFIG_CPU_SH7780	1
 #define CONFIG_R7780MP		1
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index acee4e8..d64579f 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -11,7 +11,6 @@
 #define __RSK7203_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH2		1
 #define CONFIG_SH2A		1
 #define CONFIG_CPU_SH7203	1
diff --git a/include/configs/rsk7264.h b/include/configs/rsk7264.h
index a5dbb64..62b0618 100644
--- a/include/configs/rsk7264.h
+++ b/include/configs/rsk7264.h
@@ -12,7 +12,6 @@
 #define __RSK7264_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH2		1
 #define CONFIG_SH2A		1
 #define CONFIG_CPU_SH7264	1
diff --git a/include/configs/rsk7269.h b/include/configs/rsk7269.h
index 9f54160..452f5b4 100644
--- a/include/configs/rsk7269.h
+++ b/include/configs/rsk7269.h
@@ -11,7 +11,6 @@
 #define __RSK7269_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH2		1
 #define CONFIG_SH2A		1
 #define CONFIG_CPU_SH7269	1
diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
index ebdc5c8..d4d45b4 100644
--- a/include/configs/sh7752evb.h
+++ b/include/configs/sh7752evb.h
@@ -10,7 +10,6 @@
 #define __SH7752EVB_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4A		1
 #define CONFIG_SH_32BIT		1
 #define CONFIG_CPU_SH7752	1
diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
index f7eb86d..fa6e74a 100644
--- a/include/configs/sh7753evb.h
+++ b/include/configs/sh7753evb.h
@@ -10,7 +10,6 @@
 #define __SH7753EVB_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4A		1
 #define CONFIG_SH_32BIT		1
 #define CONFIG_CPU_SH7753	1
diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
index ce1add2..5752dbb 100644
--- a/include/configs/sh7757lcr.h
+++ b/include/configs/sh7757lcr.h
@@ -10,7 +10,6 @@
 #define __SH7757LCR_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4A		1
 #define CONFIG_SH_32BIT		1
 #define CONFIG_CPU_SH7757	1
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index a137788..0b19e05 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.h
@@ -10,7 +10,6 @@
 #ifndef __SH7763RDP_H
 #define __SH7763RDP_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH4		1
 #define CONFIG_CPU_SH7763	1
 #define CONFIG_SH7763RDP	1
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 4acbcab..95f5a28 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -10,7 +10,6 @@
 #define __SH7785LCR_H
 
 #undef DEBUG
-#define CONFIG_SH		1
 #define CONFIG_SH4A		1
 #define CONFIG_CPU_SH7785	1
 #define CONFIG_SH7785LCR	1
diff --git a/include/configs/shmin.h b/include/configs/shmin.h
index 5c990fc..4f333b0 100644
--- a/include/configs/shmin.h
+++ b/include/configs/shmin.h
@@ -9,7 +9,6 @@
 #ifndef __SHMIN_H
 #define __SHMIN_H
 
-#define CONFIG_SH		1
 #define CONFIG_SH3		1
 #define CONFIG_CPU_SH7706	1
 /* T-SH7706LAN */
-- 
1.8.3.2



More information about the U-Boot mailing list