* [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk
@ 2014-01-06 6:45 Masahiro Yamada
2014-01-07 9:20 ` Andreas Bießmann
2014-01-27 14:53 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2014-01-06 6:45 UTC (permalink / raw)
To: u-boot
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>
---
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(-)
diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk
index 4ab4745..b9b9631 100644
--- a/arch/avr32/config.mk
+++ b/arch/avr32/config.mk
@@ -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
diff --git a/include/configs/atngw100.h b/include/configs/atngw100.h
index 597bede..9c81e31 100644
--- a/include/configs/atngw100.h
+++ b/include/configs/atngw100.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_ATNGW100
diff --git a/include/configs/atngw100mkii.h b/include/configs/atngw100mkii.h
index bd4dca5..066d09a 100644
--- a/include/configs/atngw100mkii.h
+++ b/include/configs/atngw100mkii.h
@@ -12,7 +12,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_ATNGW100MKII
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index fd76572..8f3fd0b 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_ATSTK1002
diff --git a/include/configs/atstk1003.h b/include/configs/atstk1003.h
index 2562460..63704b1 100644
--- a/include/configs/atstk1003.h
+++ b/include/configs/atstk1003.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7001
#define CONFIG_ATSTK1003
diff --git a/include/configs/atstk1004.h b/include/configs/atstk1004.h
index 8e32a10..331a60d 100644
--- a/include/configs/atstk1004.h
+++ b/include/configs/atstk1004.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7002
#define CONFIG_ATSTK1004
diff --git a/include/configs/atstk1006.h b/include/configs/atstk1006.h
index 9ce2264..bbe0aea 100644
--- a/include/configs/atstk1006.h
+++ b/include/configs/atstk1006.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_ATSTK1006
diff --git a/include/configs/favr-32-ezkit.h b/include/configs/favr-32-ezkit.h
index fc015e6..338d3dc 100644
--- a/include/configs/favr-32-ezkit.h
+++ b/include/configs/favr-32-ezkit.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_FAVR32_EZKIT
diff --git a/include/configs/grasshopper.h b/include/configs/grasshopper.h
index 938ee86..73534ad 100644
--- a/include/configs/grasshopper.h
+++ b/include/configs/grasshopper.h
@@ -11,7 +11,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
diff --git a/include/configs/hammerhead.h b/include/configs/hammerhead.h
index 3f2fadb..4f0603a 100644
--- a/include/configs/hammerhead.h
+++ b/include/configs/hammerhead.h
@@ -8,7 +8,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_HAMMERHEAD
diff --git a/include/configs/mimc200.h b/include/configs/mimc200.h
index 3d79239..fc7ecfa 100644
--- a/include/configs/mimc200.h
+++ b/include/configs/mimc200.h
@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h>
-#define CONFIG_AVR32
#define CONFIG_AT32AP
#define CONFIG_AT32AP7000
#define CONFIG_MIMC200
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk
2014-01-06 6:45 [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk Masahiro Yamada
@ 2014-01-07 9:20 ` Andreas Bießmann
2014-01-27 14:53 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2014-01-07 9:20 UTC (permalink / raw)
To: u-boot
On 01/06/2014 07:45 AM, Masahiro Yamada wrote:
> 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 | 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(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk
2014-01-06 6:45 [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk Masahiro Yamada
2014-01-07 9:20 ` Andreas Bießmann
@ 2014-01-27 14:53 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2014-01-27 14:53 UTC (permalink / raw)
To: u-boot
On Mon, Jan 06, 2014 at 03:45:09PM +0900, Masahiro Yamada wrote:
> 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>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-27 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 6:45 [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk Masahiro Yamada
2014-01-07 9:20 ` Andreas Bießmann
2014-01-27 14:53 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox