Skip to contentSkip to conversation

powerpc: mpc8xx: remove redundant CONFIG_8xx definition

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

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 powerpc: mpc8xx: remove redundant CONFIG_8xx definition

We do not have to define CONFIG_8xx in source files because it is defined in arch/powerpc/cpu/mpc8xx/config.mk

---

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

 arch/powerpc/cpu/mpc8xx/kgdb.S  | 2 --
 arch/powerpc/cpu/mpc8xx/start.S | 2 --
 2 files changed, 4 deletions(-)
arch/powerpc/cpu/mpc8xx/kgdb.S +0 -2
index ac1fe8f..e774d1e 100644
@@ -9,8 +9,6 @@
 #include <mpc8xx.h>
 #include <version.h>
 
-#define CONFIG_8xx 1		/* needed for Linux kernel header files */
-
 #include <ppc_asm.tmpl>
 #include <ppc_defs.h>
 
arch/powerpc/cpu/mpc8xx/start.S +0 -2
index 99cafbd..f8aa93d 100644
@@ -26,8 +26,6 @@
 #include <mpc8xx.h>
 #include <version.h>
 
-#define CONFIG_8xx 1		/* needed for Linux kernel header files */
-
 #include <ppc_asm.tmpl>
 #include <ppc_defs.h>
 
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 powerpc: mpc8xx: remove redundant CONFIG_8xx definition

Quoted 4 lines · Masahiro Yamada

We do not have to define CONFIG_8xx in source files because it is defined in arch/powerpc/cpu/mpc8xx/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/e48fa71d/attachment.pgp>