Skip to contentSkip to conversation

powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

PATCH New Masahiro Yamada 2 participants 2 messages Jan 14, 2014 – Jan 27, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

We do not have to define CONFIG_MPC83xx in board config headers because it is defined in arch/powerpc/cpu/mpc83xx/config.mk.

---

Changes in v2:
- Fix a typo in the subject: s/redandant/redundant/

 include/configs/MERGERBOX.h        | 1 -
 include/configs/MPC8308RDB.h       | 1 -
 include/configs/MPC8313ERDB.h      | 1 -
 include/configs/MPC8315ERDB.h      | 1 -
 include/configs/MPC8323ERDB.h      | 1 -
 include/configs/MPC832XEMDS.h      | 1 -
 include/configs/MPC8349EMDS.h      | 1 -
 include/configs/MPC8349ITX.h       | 1 -
 include/configs/MPC8360EMDS.h      | 1 -
 include/configs/MPC8360ERDK.h      | 1 -
 include/configs/MPC837XEMDS.h      | 1 -
 include/configs/MPC837XERDB.h      | 1 -
 include/configs/MVBLM7.h           | 1 -
 include/configs/SIMPC8313.h        | 1 -
 include/configs/TQM834x.h          | 1 -
 include/configs/km/km8309-common.h | 1 -
 include/configs/mpc8308_p1m.h      | 1 -
 include/configs/sbc8349.h          | 1 -
 include/configs/ve8313.h           | 1 -
 include/configs/vme8349.h          | 1 -
 20 files changed, 20 deletions(-)
include/configs/MERGERBOX.h +0 -1
index 8a40029..3dcea0b 100644
@@ -16,7 +16,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300	1
-#define CONFIG_MPC83xx	1
 #define CONFIG_MPC837x	1
 #define CONFIG_MPC8377	1
 
include/configs/MPC8308RDB.h +0 -1
index 0131b9c..bf974fd 100644
@@ -13,7 +13,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1 /* E300 family */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC830x		1 /* MPC830x family */
 #define CONFIG_MPC8308		1 /* MPC8308 CPU specific */
 #define CONFIG_MPC8308RDB	1 /* MPC8308RDB board specific */
include/configs/MPC8313ERDB.h +0 -1
index 07719e9..69b2cb1 100644
@@ -14,7 +14,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1
-#define CONFIG_MPC83xx		1
 #define CONFIG_MPC831x		1
 #define CONFIG_MPC8313		1
 #define CONFIG_MPC8313ERDB	1
include/configs/MPC8315ERDB.h +0 -1
index aedb529..3dd52ce 100644
@@ -35,7 +35,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1 /* E300 family */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC831x		1 /* MPC831x CPU family */
 #define CONFIG_MPC8315		1 /* MPC8315 CPU specific */
 #define CONFIG_MPC8315ERDB	1 /* MPC8315ERDB board specific */
include/configs/MPC8323ERDB.h +0 -1
index c4c771b..65a63e2 100644
@@ -14,7 +14,6 @@
  */
 #define CONFIG_E300		1	/* E300 family */
 #define CONFIG_QE		1	/* Has QE */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC832x		1	/* MPC832x CPU specific */
 
 #define	CONFIG_SYS_TEXT_BASE	0xFE000000
include/configs/MPC832XEMDS.h +0 -1
index f5b6202..1735b3c 100644
@@ -12,7 +12,6 @@
  */
 #define CONFIG_E300		1	/* E300 family */
 #define CONFIG_QE		1	/* Has QE */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC832x		1	/* MPC832x CPU specific */
 #define CONFIG_MPC832XEMDS	1	/* MPC832XEMDS board specific */
 
include/configs/MPC8349EMDS.h +0 -1
index 7640d06..6b7d648 100644
@@ -17,7 +17,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1	/* E300 Family */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC834x		1	/* MPC834x family */
 #define CONFIG_MPC8349		1	/* MPC8349 specific */
 #define CONFIG_MPC8349EMDS	1	/* MPC8349EMDS board specific */
include/configs/MPC8349ITX.h +0 -1
index ffb9a15..398918a 100644
@@ -47,7 +47,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_MPC83xx		1
 #define CONFIG_MPC834x		/* MPC834x family (8343, 8347, 8349) */
 #define CONFIG_MPC8349		/* MPC8349 specific */
 
include/configs/MPC8360EMDS.h +0 -1
index d4c82cd..aefde74 100644
@@ -14,7 +14,6 @@
  */
 #define CONFIG_E300		1 /* E300 family */
 #define CONFIG_QE		1 /* Has QE */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC8360		1 /* MPC8360 CPU specific */
 #define CONFIG_MPC8360EMDS	1 /* MPC8360EMDS board specific */
 
include/configs/MPC8360ERDK.h +0 -1
index 01e7ac7..1b8bad1 100644
@@ -19,7 +19,6 @@
  */
 #define CONFIG_E300		1 /* E300 family */
 #define CONFIG_QE		1 /* Has QE */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC8360		1 /* MPC8360 CPU specific */
 #define CONFIG_MPC8360ERDK	1 /* MPC8360ERDK board specific */
 
include/configs/MPC837XEMDS.h +0 -1
index f52e77a..695e47b 100644
@@ -12,7 +12,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1 /* E300 family */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC837x		1 /* MPC837x CPU specific */
 #define CONFIG_MPC837XEMDS	1 /* MPC837XEMDS board specific */
 
include/configs/MPC837XERDB.h +0 -1
index 938f7ab..1d1f4c0 100644
@@ -13,7 +13,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1 /* E300 family */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC837x		1 /* MPC837x CPU specific */
 #define CONFIG_MPC837XERDB	1
 
include/configs/MVBLM7.h +0 -1
index efdf1aa..30af691 100644
@@ -17,7 +17,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300	1
-#define CONFIG_MPC83xx	1
 #define CONFIG_MPC834x	1
 #define CONFIG_MPC8343	1
 
include/configs/SIMPC8313.h +0 -1
index 40fb63d..46157cc 100644
@@ -16,7 +16,6 @@
 #define CONFIG_NAND_U_BOOT
 
 #define CONFIG_E300			1
-#define CONFIG_MPC83xx			1
 #define CONFIG_MPC831x			1
 #define CONFIG_MPC8313			1
 
include/configs/TQM834x.h +0 -1
index 15cf2bd..6762e3a 100644
@@ -16,7 +16,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1	/* E300 Family */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC834x		1	/* MPC834x specific */
 #define CONFIG_MPC8349		1	/* MPC8349 specific */
 #define CONFIG_TQM834X		1	/* TQM834X board specific */
include/configs/km/km8309-common.h +0 -1
index 47355ab..29c6f60 100644
@@ -15,7 +15,6 @@
  */
 #define CONFIG_E300		1	/* E300 family */
 #define CONFIG_QE		1	/* Has QE */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC830x		1	/* MPC830x family */
 #define CONFIG_MPC8309		1	/* MPC8309 CPU specific */
 
include/configs/mpc8308_p1m.h +0 -1
index de7a53a..4ae9afd 100644
@@ -13,7 +13,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1 /* E300 family */
-#define CONFIG_MPC83xx		1 /* MPC83xx family */
 #define CONFIG_MPC830x		1 /* MPC830x family */
 #define CONFIG_MPC8308		1 /* MPC8308 CPU specific */
 #define CONFIG_MPC8308_P1M	1 /* mpc8308_p1m board specific */
include/configs/sbc8349.h +0 -1
index b7f83e0..2516a3e 100644
@@ -19,7 +19,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1	/* E300 Family */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC834x		1	/* MPC834x family */
 #define CONFIG_MPC8349		1	/* MPC8349 specific */
 #define CONFIG_SBC8349		1	/* WRS SBC8349 board specific */
include/configs/ve8313.h +0 -1
index 5cf4ae5..00787bb 100644
@@ -17,7 +17,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1
-#define CONFIG_MPC83xx		1
 #define CONFIG_MPC831x		1
 #define CONFIG_MPC8313		1
 #define CONFIG_VE8313		1
include/configs/vme8349.h +0 -1
index 7ecbafe..175311c 100644
@@ -29,7 +29,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300		1	/* E300 Family */
-#define CONFIG_MPC83xx		1	/* MPC83xx family */
 #define CONFIG_MPC834x		1	/* MPC834x family */
 #define CONFIG_MPC8349		1	/* MPC8349 specific */
 #define CONFIG_VME8349		1	/* ESD VME8349 board specific */
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

Quoted 4 lines · Masahiro Yamada

We do not have to define CONFIG_MPC83xx in board config headers because it is defined in arch/powerpc/cpu/mpc83xx/config.mk.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140127/c426ee5d/attachment.pgp>