avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 6 Jan 2014 06:45:09 +0000 (15:45 +0900)
committerTom Rini <trini@ti.com>
Fri, 24 Jan 2014 21:59:07 +0000 (16:59 -0500)
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>
arch/avr32/config.mk
include/configs/atngw100.h
include/configs/atngw100mkii.h
include/configs/atstk1002.h
include/configs/atstk1003.h
include/configs/atstk1004.h
include/configs/atstk1006.h
include/configs/favr-32-ezkit.h
include/configs/grasshopper.h
include/configs/hammerhead.h
include/configs/mimc200.h

index 4ab4745edfc7074936f741a03dda4603abb82209..b9b96313c5f4b4358783fdd62dda17b069655eda 100644 (file)
@@ -6,7 +6,7 @@
 #
 
 CROSS_COMPILE ?= avr32-linux-
-
+PLATFORM_CPPFLAGS += -DCONFIG_AVR32
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
 
 PLATFORM_RELFLAGS      += -ffixed-r5 -fPIC -mno-init-got -mrelax
index 597bede85e95dfe00f6568164e249c355e8ad447..9c81e3199f916d49d498d6ce3c5a7bd68ec95aec 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100
index bd4dca521709584c494b25f4872b181712d0c124..066d09ab0a119a8ff7bde1a4f1e54faa752c52ea 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100MKII
index fd76572a47595999cd2bd5a877f9dac549b25f18..8f3fd0bb00018e1cc6725642220cf775519eb10a 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATSTK1002
index 2562460b98ad6308230ebf5ba73b1ab51b81422c..63704b19875d6d7bcc0d2ebf8c7528ff15845c00 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7001
 #define CONFIG_ATSTK1003
index 8e32a10b19f18b50ece5427c4194b397f4239274..331a60d76aaa17aac9e6a5da470070ab56e65fcb 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7002
 #define CONFIG_ATSTK1004
index 9ce22649e719776c533d62ef1c2b0ed90bde3f74..bbe0aea8616f9e91c4ead982228c430ed476be56 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATSTK1006
index fc015e69395c4b38d7fb584f667874707732b607..338d3dc78239b30a2d71412812fcf0574ee8d827 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_FAVR32_EZKIT
index 938ee862819fef2fc06de40e0cebca0fac55b6cd..73534addfc1bcf6581515b11f1b9a67f8df00794 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 
index 3f2fadbb589a16a91cc83596fc93c0a6cdb3ab7b..4f0603abc13290b05e61ee5382e975d4231eb8f1 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_HAMMERHEAD
index 3d792398c518a276494f451dfcfde2517e69c628..fc7ecfaee47605af7055ea6c3be2c429543496da 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_MIMC200