powerpc: mpc86xx: move CONFIG_MPC86xx definition to CPU config.mk
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 15 Jan 2014 01:14:21 +0000 (10:14 +0900)
committerTom Rini <trini@ti.com>
Fri, 24 Jan 2014 21:59:08 +0000 (16:59 -0500)
Define CONFIG_MPC86xx in arch/powerpc/cpu/mpc86xx/config.mk
because all target boards with mpc86xx cpu define it.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/powerpc/cpu/mpc86xx/config.mk
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/sbc8641d.h
include/configs/xpedite517x.h

index 69a0b96eadb742918daa651a0c210eca612f474a..4c7235fcdef5bb71e263b5a4586770164a18ef88 100644 (file)
@@ -5,4 +5,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-PLATFORM_CPPFLAGS += -mstring -maltivec -mabi=altivec -msoft-float
+PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx -mstring -maltivec -mabi=altivec -msoft-float
index f930fcde34fac0a112412eca884a6430e8ca44fd..e6d570a6af09429d7ec58dfeb3fa710e4e3ed0e3 100644 (file)
@@ -14,7 +14,6 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_MPC86xx         1       /* MPC86xx */
 #define CONFIG_MPC8610         1       /* MPC8610 specific */
 #define CONFIG_MPC8610HPCD     1       /* MPC8610HPCD board specific */
 #define CONFIG_LINUX_RESET_VEC 0x100   /* Reset vector used by Linux */
index 65d61c28d1f0af5c54e4b0b5e76c79affaaceb3b..7443acec80b2fd6502b4570fb9d357025f5a410c 100644 (file)
@@ -17,7 +17,6 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_MPC86xx         1       /* MPC86xx */
 #define CONFIG_MPC8641         1       /* MPC8641 specific */
 #define CONFIG_MPC8641HPCN     1       /* MPC8641HPCN board specific */
 #define CONFIG_MP              1       /* support multiple processors */
index 78f8219c5f7e7ce679d98b1cd19a6ff1a3113b1c..8eb7276618b0ac793b37eecdf8af9491283883d1 100644 (file)
@@ -21,7 +21,6 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_MPC86xx         1       /* MPC86xx */
 #define CONFIG_MPC8641         1       /* MPC8641 specific */
 #define CONFIG_SBC8641D                1       /* SBC8641D board specific */
 #define CONFIG_MP              1       /* support multiple processors */
index 88d7f88cc0008f649cde0be6fb6f1acdda2dd1ee..cbf4b8e0f70266a0a9d2f1aab68fea6991762695 100644 (file)
@@ -14,7 +14,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_MPC86xx         1       /* MPC86xx */
 #define CONFIG_MPC8641         1       /* MPC8641 specific */
 #define CONFIG_XPEDITE5140     1       /* MPC8641HPCN board specific */
 #define CONFIG_SYS_BOARD_NAME  "XPedite5170"