Patchwork [U-Boot] powerpc: mpc8xx: remove redandant CONFIG_8xx definition

login
register
mail settings
Submitter Masahiro Yamada
Date Jan. 10, 2014, 1:51 a.m.
Message ID <1389318677-18098-1-git-send-email-yamada.m@jp.panasonic.com>
Download mbox | patch
Permalink /patch/309084/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Masahiro Yamada - Jan. 10, 2014, 1:51 a.m.
We do not define CONFIG_8xx in source files
because it is defined in arch/powerpc/cpu/mpc8xx/config.mk

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 arch/powerpc/cpu/mpc8xx/kgdb.S  | 2 --
 arch/powerpc/cpu/mpc8xx/start.S | 2 --
 2 files changed, 4 deletions(-)

Patch

diff --git a/arch/powerpc/cpu/mpc8xx/kgdb.S b/arch/powerpc/cpu/mpc8xx/kgdb.S
index ac1fe8f..e774d1e 100644
--- a/arch/powerpc/cpu/mpc8xx/kgdb.S
+++ b/arch/powerpc/cpu/mpc8xx/kgdb.S
@@ -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>
 
diff --git a/arch/powerpc/cpu/mpc8xx/start.S b/arch/powerpc/cpu/mpc8xx/start.S
index 99cafbd..f8aa93d 100644
--- a/arch/powerpc/cpu/mpc8xx/start.S
+++ b/arch/powerpc/cpu/mpc8xx/start.S
@@ -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>