* [U-Boot] [PATCH v2 0/3] ARM: at91: add missed the AT91FAMILY and ARM926EJS in SoC header
@ 2014-05-20 9:44 Josh Wu
2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Josh Wu @ 2014-05-20 9:44 UTC (permalink / raw)
To: u-boot
Add missed AT91FAMILY and ARM926EJS macro in at91sam9x5.h.
Now as all at91 SoC header defined AT91FAMILY and ARM926EJS, so we can
remove the redundant definitions in all at91 board config files.
v1 -> v2:
1. add ARM926EJS in at91sam9x5 SoC header.
2. remove all redundant ARM926EJS in at91 board files.
3. remove redundant AT91FAMILY in corvus, cpu9260, ethernut5 and vl_ma2sc boards.
Josh Wu (3):
ARM: at91sam9x5: define the AT91FAMILY and ARM926EJS in SoC header
at91: remove redundant AT91FAMILY definition in board config file
ARM: at91: remove redundant ARM926EJS definition in board config files
arch/arm/include/asm/arch-at91/at91sam9x5.h | 3 +++
include/configs/at91sam9m10g45ek.h | 1 -
include/configs/at91sam9n12ek.h | 3 ---
include/configs/at91sam9x5ek.h | 1 -
include/configs/corvus.h | 2 --
include/configs/cpu9260.h | 1 -
include/configs/ethernut5.h | 2 --
include/configs/sama5d3_xplained.h | 1 -
include/configs/sama5d3xek.h | 1 -
include/configs/vl_ma2sc.h | 2 --
10 files changed, 3 insertions(+), 14 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define the AT91FAMILY and ARM926EJS in SoC header 2014-05-20 9:44 [U-Boot] [PATCH v2 0/3] ARM: at91: add missed the AT91FAMILY and ARM926EJS in SoC header Josh Wu @ 2014-05-20 9:44 ` Josh Wu 2014-05-20 10:18 ` Bo Shen 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 2014-05-20 9:44 ` [U-Boot] [PATCH v2 2/3] at91: remove redundant AT91FAMILY definition in board config file Josh Wu 2014-05-20 9:44 ` [U-Boot] [PATCH v2 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files Josh Wu 2 siblings, 2 replies; 8+ messages in thread From: Josh Wu @ 2014-05-20 9:44 UTC (permalink / raw) To: u-boot Signed-off-by: Josh Wu <josh.wu@atmel.com> --- v1 -> v2: 1. split the patch alone. 2. add missed ARM926EJS macro. arch/arm/include/asm/arch-at91/at91sam9x5.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-at91/at91sam9x5.h b/arch/arm/include/asm/arch-at91/at91sam9x5.h index a471038..d49c184 100644 --- a/arch/arm/include/asm/arch-at91/at91sam9x5.h +++ b/arch/arm/include/asm/arch-at91/at91sam9x5.h @@ -12,6 +12,9 @@ #ifndef __AT91SAM9X5_H__ #define __AT91SAM9X5_H__ +#define CONFIG_ARM926EJS /* ARM926EJS Core */ +#define CONFIG_AT91FAMILY /* it's a member of AT91 family */ + /* * Peripheral identifiers/interrupts. */ -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define the AT91FAMILY and ARM926EJS in SoC header 2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu @ 2014-05-20 10:18 ` Bo Shen 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 1 sibling, 0 replies; 8+ messages in thread From: Bo Shen @ 2014-05-20 10:18 UTC (permalink / raw) To: u-boot Hi Josh, On 05/20/2014 05:44 PM, Josh Wu wrote: > Signed-off-by: Josh Wu <josh.wu@atmel.com> For the whole patch set. Acked-by: Bo Shen <voice.shen@atmel.com> > --- > v1 -> v2: > 1. split the patch alone. > 2. add missed ARM926EJS macro. > > arch/arm/include/asm/arch-at91/at91sam9x5.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/include/asm/arch-at91/at91sam9x5.h b/arch/arm/include/asm/arch-at91/at91sam9x5.h > index a471038..d49c184 100644 > --- a/arch/arm/include/asm/arch-at91/at91sam9x5.h > +++ b/arch/arm/include/asm/arch-at91/at91sam9x5.h > @@ -12,6 +12,9 @@ > #ifndef __AT91SAM9X5_H__ > #define __AT91SAM9X5_H__ > > +#define CONFIG_ARM926EJS /* ARM926EJS Core */ > +#define CONFIG_AT91FAMILY /* it's a member of AT91 family */ > + > /* > * Peripheral identifiers/interrupts. > */ > Best Regards, Bo Shen ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [U-Boot, v2, 1/3] ARM: at91sam9x5: define the AT91FAMILY and ARM926EJS in SoC header 2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu 2014-05-20 10:18 ` Bo Shen @ 2014-05-26 22:13 ` Andreas Bießmann 1 sibling, 0 replies; 8+ messages in thread From: Andreas Bießmann @ 2014-05-26 22:13 UTC (permalink / raw) To: u-boot Dear Josh Wu, Josh Wu <Josh.wu@atmel.com> writes: >Signed-off-by: Josh Wu <josh.wu@atmel.com> > >--- >v1 -> v2: > 1. split the patch alone. > 2. add missed ARM926EJS macro. > > arch/arm/include/asm/arch-at91/at91sam9x5.h | 3 +++ > 1 file changed, 3 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v2 2/3] at91: remove redundant AT91FAMILY definition in board config file 2014-05-20 9:44 [U-Boot] [PATCH v2 0/3] ARM: at91: add missed the AT91FAMILY and ARM926EJS in SoC header Josh Wu 2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu @ 2014-05-20 9:44 ` Josh Wu 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 2014-05-20 9:44 ` [U-Boot] [PATCH v2 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files Josh Wu 2 siblings, 1 reply; 8+ messages in thread From: Josh Wu @ 2014-05-20 9:44 UTC (permalink / raw) To: u-boot Now the AT91FAMILY is already defined in the at91 SoC header. The at91 board config file will include the SoC header file. So we can remove the redundant AT91FAMILY definition in at91 board config files. Signed-off-by: Josh Wu <josh.wu@atmel.com> --- v1 -> v2: 1. modified more files, inclulde corvus, cpu9260, ethernut5 and vl_ma2sc board. include/configs/at91sam9m10g45ek.h | 1 - include/configs/at91sam9n12ek.h | 1 - include/configs/at91sam9x5ek.h | 1 - include/configs/corvus.h | 2 -- include/configs/cpu9260.h | 1 - include/configs/ethernut5.h | 1 - include/configs/sama5d3_xplained.h | 1 - include/configs/sama5d3xek.h | 1 - include/configs/vl_ma2sc.h | 1 - 9 files changed, 10 deletions(-) diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h index ccfda71..af0415f 100644 --- a/include/configs/at91sam9m10g45ek.h +++ b/include/configs/at91sam9m10g45ek.h @@ -22,7 +22,6 @@ #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ #define CONFIG_AT91SAM9M10G45EK -#define CONFIG_AT91FAMILY #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index e23549d..ebfc26e 100644 --- a/include/configs/at91sam9n12ek.h +++ b/include/configs/at91sam9n12ek.h @@ -19,7 +19,6 @@ #define CONFIG_SYS_TEXT_BASE 0x26f00000 #define CONFIG_ARM926EJS -#define CONFIG_AT91FAMILY /* ARM asynchronous clock */ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 /* slow clock xtal */ diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index f0a6757..b2dd252 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -18,7 +18,6 @@ #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* 12 MHz crystal */ #define CONFIG_AT91SAM9X5EK -#define CONFIG_AT91FAMILY #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS diff --git a/include/configs/corvus.h b/include/configs/corvus.h index 959e188..2e118d7 100644 --- a/include/configs/corvus.h +++ b/include/configs/corvus.h @@ -34,8 +34,6 @@ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ -#define CONFIG_AT91FAMILY - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/cpu9260.h b/include/configs/cpu9260.h index 39f7062..1feaefd 100644 --- a/include/configs/cpu9260.h +++ b/include/configs/cpu9260.h @@ -32,7 +32,6 @@ #include <asm/arch/hardware.h> -#define CONFIG_AT91FAMILY #define CONFIG_ARCH_CPU_INIT #define CONFIG_DISPLAY_CPUINFO #define CONFIG_BOARD_EARLY_INIT_F diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index 480d867..89d668b 100644 --- a/include/configs/ethernut5.h +++ b/include/configs/ethernut5.h @@ -24,7 +24,6 @@ /* CPU information */ #define CONFIG_ARM926EJS -#define CONFIG_AT91FAMILY #define CONFIG_DISPLAY_CPUINFO /* Display at console. */ #define CONFIG_ARCH_CPU_INIT diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h index 41c946d..d7fb850 100644 --- a/include/configs/sama5d3_xplained.h +++ b/include/configs/sama5d3_xplained.h @@ -18,7 +18,6 @@ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ -#define CONFIG_AT91FAMILY #define CONFIG_ARCH_CPU_INIT #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_BOARD_EARLY_INIT_F diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 516be85..b563732 100644 --- a/include/configs/sama5d3xek.h +++ b/include/configs/sama5d3xek.h @@ -21,7 +21,6 @@ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ -#define CONFIG_AT91FAMILY #define CONFIG_ARCH_CPU_INIT #ifndef CONFIG_SPL_BUILD diff --git a/include/configs/vl_ma2sc.h b/include/configs/vl_ma2sc.h index 14c6e67..8e58ade 100644 --- a/include/configs/vl_ma2sc.h +++ b/include/configs/vl_ma2sc.h @@ -14,7 +14,6 @@ /*--------------------------------------------------------------------------*/ #define CONFIG_ARM926EJS /* This is an ARM926EJS Core */ -#define CONFIG_AT91FAMILY #define CONFIG_AT91SAM9263 /* It's an Atmel AT91SAM9263 SoC*/ #define CONFIG_VL_MA2SC /* on an VL_MA2SC Board */ #define CONFIG_ARCH_CPU_INIT -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [U-Boot, v2, 2/3] at91: remove redundant AT91FAMILY definition in board config file 2014-05-20 9:44 ` [U-Boot] [PATCH v2 2/3] at91: remove redundant AT91FAMILY definition in board config file Josh Wu @ 2014-05-26 22:13 ` Andreas Bießmann 0 siblings, 0 replies; 8+ messages in thread From: Andreas Bießmann @ 2014-05-26 22:13 UTC (permalink / raw) To: u-boot Dear Josh Wu, Josh Wu <Josh.wu@atmel.com> writes: >Now the AT91FAMILY is already defined in the at91 SoC header. The at91 >board config file will include the SoC header file. > >So we can remove the redundant AT91FAMILY definition in at91 board >config files. > >Signed-off-by: Josh Wu <josh.wu@atmel.com> > >--- >v1 -> v2: > 1. modified more files, inclulde corvus, cpu9260, ethernut5 and vl_ma2sc board. > > include/configs/at91sam9m10g45ek.h | 1 - > include/configs/at91sam9n12ek.h | 1 - > include/configs/at91sam9x5ek.h | 1 - > include/configs/corvus.h | 2 -- > include/configs/cpu9260.h | 1 - > include/configs/ethernut5.h | 1 - > include/configs/sama5d3_xplained.h | 1 - > include/configs/sama5d3xek.h | 1 - > include/configs/vl_ma2sc.h | 1 - > 9 files changed, 10 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v2 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files 2014-05-20 9:44 [U-Boot] [PATCH v2 0/3] ARM: at91: add missed the AT91FAMILY and ARM926EJS in SoC header Josh Wu 2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu 2014-05-20 9:44 ` [U-Boot] [PATCH v2 2/3] at91: remove redundant AT91FAMILY definition in board config file Josh Wu @ 2014-05-20 9:44 ` Josh Wu 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 2 siblings, 1 reply; 8+ messages in thread From: Josh Wu @ 2014-05-20 9:44 UTC (permalink / raw) To: u-boot As at91 board config file will include the SoC header, so we can remove the ARM926EJS definition in board config files. Signed-off-by: Josh Wu <josh.wu@atmel.com> --- include/configs/at91sam9n12ek.h | 2 -- include/configs/ethernut5.h | 1 - include/configs/vl_ma2sc.h | 1 - 3 files changed, 4 deletions(-) diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index ebfc26e..9b0e588 100644 --- a/include/configs/at91sam9n12ek.h +++ b/include/configs/at91sam9n12ek.h @@ -18,8 +18,6 @@ #define CONFIG_SYS_TEXT_BASE 0x26f00000 -#define CONFIG_ARM926EJS - /* ARM asynchronous clock */ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 /* slow clock xtal */ #define CONFIG_SYS_AT91_MAIN_CLOCK 16000000 /* main clock xtal */ diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index 89d668b..c81fc44 100644 --- a/include/configs/ethernut5.h +++ b/include/configs/ethernut5.h @@ -23,7 +23,6 @@ #define CONFIG_MACH_TYPE MACH_TYPE_ETHERNUT5 /* CPU information */ -#define CONFIG_ARM926EJS #define CONFIG_DISPLAY_CPUINFO /* Display at console. */ #define CONFIG_ARCH_CPU_INIT diff --git a/include/configs/vl_ma2sc.h b/include/configs/vl_ma2sc.h index 8e58ade..bef821f 100644 --- a/include/configs/vl_ma2sc.h +++ b/include/configs/vl_ma2sc.h @@ -13,7 +13,6 @@ /*--------------------------------------------------------------------------*/ -#define CONFIG_ARM926EJS /* This is an ARM926EJS Core */ #define CONFIG_AT91SAM9263 /* It's an Atmel AT91SAM9263 SoC*/ #define CONFIG_VL_MA2SC /* on an VL_MA2SC Board */ #define CONFIG_ARCH_CPU_INIT -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [U-Boot, v2, 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files 2014-05-20 9:44 ` [U-Boot] [PATCH v2 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files Josh Wu @ 2014-05-26 22:13 ` Andreas Bießmann 0 siblings, 0 replies; 8+ messages in thread From: Andreas Bießmann @ 2014-05-26 22:13 UTC (permalink / raw) To: u-boot Dear Josh Wu, Josh Wu <Josh.wu@atmel.com> writes: >As at91 board config file will include the SoC header, so we can remove >the ARM926EJS definition in board config files. > >Signed-off-by: Josh Wu <josh.wu@atmel.com> > >--- >include/configs/at91sam9n12ek.h | 2 -- > include/configs/ethernut5.h | 1 - > include/configs/vl_ma2sc.h | 1 - > 3 files changed, 4 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-05-26 22:13 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-20 9:44 [U-Boot] [PATCH v2 0/3] ARM: at91: add missed the AT91FAMILY and ARM926EJS in SoC header Josh Wu 2014-05-20 9:44 ` [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define " Josh Wu 2014-05-20 10:18 ` Bo Shen 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 2014-05-20 9:44 ` [U-Boot] [PATCH v2 2/3] at91: remove redundant AT91FAMILY definition in board config file Josh Wu 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann 2014-05-20 9:44 ` [U-Boot] [PATCH v2 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files Josh Wu 2014-05-26 22:13 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox