Skip to contentSkip to conversation

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

PATCH In review Masahiro Yamada 3 participants 3 messages Jan 6, 2014 – Jan 27, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Andreas Bie?mann <[email protected]>
---
 arch/avr32/config.mk            | 2 +-
 include/configs/atngw100.h      | 1 -
 include/configs/atngw100mkii.h  | 1 -
 include/configs/atstk1002.h     | 1 -
 include/configs/atstk1003.h     | 1 -
 include/configs/atstk1004.h     | 1 -
 include/configs/atstk1006.h     | 1 -
 include/configs/favr-32-ezkit.h | 1 -
 include/configs/grasshopper.h   | 1 -
 include/configs/hammerhead.h    | 1 -
 include/configs/mimc200.h       | 1 -
 11 files changed, 1 insertion(+), 11 deletions(-)
arch/avr32/config.mk +1 -1
index 4ab4745..b9b9631 100644
@@ -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
include/configs/atngw100.h +0 -1
index 597bede..9c81e31 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100
include/configs/atngw100mkii.h +0 -1
index bd4dca5..066d09a 100644
@@ -12,7 +12,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100MKII
include/configs/atstk1002.h +0 -1
index fd76572..8f3fd0b 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATSTK1002
include/configs/atstk1003.h +0 -1
index 2562460..63704b1 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7001
 #define CONFIG_ATSTK1003
include/configs/atstk1004.h +0 -1
index 8e32a10..331a60d 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7002
 #define CONFIG_ATSTK1004
include/configs/atstk1006.h +0 -1
index 9ce2264..bbe0aea 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_ATSTK1006
include/configs/favr-32-ezkit.h +0 -1
index fc015e6..338d3dc 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_FAVR32_EZKIT
include/configs/grasshopper.h +0 -1
index 938ee86..73534ad 100644
@@ -11,7 +11,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 
include/configs/hammerhead.h +0 -1
index 3f2fadb..4f0603a 100644
@@ -8,7 +8,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_HAMMERHEAD
include/configs/mimc200.h +0 -1
index 3d79239..fc7ecfa 100644
@@ -10,7 +10,6 @@
 
 #include <asm/arch/hardware.h>
 
-#define CONFIG_AVR32
 #define CONFIG_AT32AP
 #define CONFIG_AT32AP7000
 #define CONFIG_MIMC200
Signature · 1 line
1.8.3.2
#1 lore raw

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

Quoted 5 lines · Masahiro Yamada

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

Cc Andreas Bie?mann <[email protected]>
Quoted 13 lines
---
 arch/avr32/config.mk            | 2 +-
 include/configs/atngw100.h      | 1 -
 include/configs/atngw100mkii.h  | 1 -
 include/configs/atstk1002.h     | 1 -
 include/configs/atstk1003.h     | 1 -
 include/configs/atstk1004.h     | 1 -
 include/configs/atstk1006.h     | 1 -
 include/configs/favr-32-ezkit.h | 1 -
 include/configs/grasshopper.h   | 1 -
 include/configs/hammerhead.h    | 1 -
 include/configs/mimc200.h       | 1 -
 11 files changed, 1 insertion(+), 11 deletions(-)
#2 lore raw
In reply to Masahiro Yamada
Quoted 6 lines · Masahiro Yamada

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

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/e423e392/attachment.pgp>