Commit 5378d5eabe8943bcff0d93ba43df3a5b246d4138

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent d937326ffc

avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk

Like other architectures, CONFIG_AVR32 can be defined
in arch/avr32/config.mk rather than board header files.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>

Showing 11 changed files with 1 additions and 11 deletions Side-by-side Diff

arch/avr32/config.mk
... ... @@ -6,7 +6,7 @@
6 6 #
7 7  
8 8 CROSS_COMPILE ?= avr32-linux-
9   -
  9 +PLATFORM_CPPFLAGS += -DCONFIG_AVR32
10 10 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
11 11  
12 12 PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
include/configs/atngw100.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7000
16 15 #define CONFIG_ATNGW100
include/configs/atngw100mkii.h
... ... @@ -12,7 +12,6 @@
12 12  
13 13 #include <asm/arch/hardware.h>
14 14  
15   -#define CONFIG_AVR32
16 15 #define CONFIG_AT32AP
17 16 #define CONFIG_AT32AP7000
18 17 #define CONFIG_ATNGW100MKII
include/configs/atstk1002.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7000
16 15 #define CONFIG_ATSTK1002
include/configs/atstk1003.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7001
16 15 #define CONFIG_ATSTK1003
include/configs/atstk1004.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7002
16 15 #define CONFIG_ATSTK1004
include/configs/atstk1006.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7000
16 15 #define CONFIG_ATSTK1006
include/configs/favr-32-ezkit.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7000
16 15 #define CONFIG_FAVR32_EZKIT
include/configs/grasshopper.h
... ... @@ -11,7 +11,6 @@
11 11  
12 12 #include <asm/arch/hardware.h>
13 13  
14   -#define CONFIG_AVR32
15 14 #define CONFIG_AT32AP
16 15 #define CONFIG_AT32AP7000
17 16  
include/configs/hammerhead.h
... ... @@ -8,7 +8,6 @@
8 8 #ifndef __CONFIG_H
9 9 #define __CONFIG_H
10 10  
11   -#define CONFIG_AVR32
12 11 #define CONFIG_AT32AP
13 12 #define CONFIG_AT32AP7000
14 13 #define CONFIG_HAMMERHEAD
include/configs/mimc200.h
... ... @@ -10,7 +10,6 @@
10 10  
11 11 #include <asm/arch/hardware.h>
12 12  
13   -#define CONFIG_AVR32
14 13 #define CONFIG_AT32AP
15 14 #define CONFIG_AT32AP7000
16 15 #define CONFIG_MIMC200