arm: add interrupt support
Subsystems (11)
cover arm: add interrupt support
Hi folks,
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
Regards,
Georges
PATCH 1/3 arm: make .vectors section allocatable
Before the commit 41623c91, the exception vector was in a .text section which is allocatable. After this, the .vectors section was introduced to contain the exception vector without specifying it as a .text section but only as a executable section ("x").
This fix marks the section .vectors as allocatable as well ("ax") allowing symbols to be relocated.
--- arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/vectors.S +1 -1
@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************
Signature · 1 line
2.1.0
PATCH 1/3 arm: make .vectors section allocatable
Hi Georges,
Quoted 6 lines · Georges Savoundararadj
Before the commit
41623c91, the exception vector was in a .text section which is allocatable. After this, the .vectors section was introduced to contain the exception vector without specifying it as a .text section but only as a executable section ("x").
This fix marks the section .vectors as allocatable as well ("ax") allowing symbols to be relocated.
Could you explain (on the list, not in the commit message, although I might ask you to do it there too later on) the exact effects of adding the "a" flag, i.e., what symbol exactly was broken by commit 41623c91, how it is broken, and how "a" changes this?
On a deeper level, note that many ARM targets around do not have free rein on where they can put vectors, e.g., they are limited to base addresses of 0x00000000 or 0xFFFF0000. Thus, in many cases, vector are relocated along with the rest of the image, but in fact, their base address will not be their relocated address, and they will require copying into whatever fixed location the target supports.
If you're going to fix general exception handling files (which I am quite fine with), I would prefer that you solve the general problem, i.e. either relocate vectors along with the code and fix VBAR on plaforms that can use it, or relocate them to the fixed location wher e the target expects them.
Quoted 10 lines
Signed-off-by Georges Savoundararadj <[email protected]>--- arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/lib/vectors.S +0
-0
arch/arm/lib/vectors.S line 39
Quoted 8 lines
arch/arm/lib/vectors.S +1
-1@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************
Amicalement,
Signature · 1 line
Albert.
PATCH 1/3 arm: make .vectors section allocatable
Hi Albert,
Le 24/09/2014 09:34, Albert ARIBAUD a ?crit :
Quoted 11 lines
Hi Georges,
Quoted 6 lines · On Sun, 21 Sep 2014 23:33:48 +0200, Georges Savoundararadj…
Before the commit
41623c91, the exception vector was in a .text section which is allocatable. After this, the .vectors section was introduced to contain the exception vector without specifying it as a .text section but only as a executable section ("x").
This fix marks the section .vectors as allocatable as well ("ax") allowing symbols to be relocated.
Quoted 4 lines
Could you explain (on the list, not in the commit message, although I might ask you to do it there too later on) the exact effects of adding the "a" flag, i.e., what symbol exactly was broken by commit
41623c91, how it is broken, and how "a" changes this?
According to [1], the .text section has the attributes allocated and executable:
"The attributes used are SHF_ALLOC and SHF_EXECINSTR".
Before commit 41623c91, the exception vectors were not defined in a specific section.
For instance, see arch/arm/cpu/arm1176/start.S.
I think, if no specific section type is specified, the symbols will be, by default, in a .text section.
It is what we observe thanks to arm-none-eabi-objdump -D arch/arm/cpu/arm1176/start.o.
And, we notice that the addresses of the symbols of the exception vectors are indeed there:0003328c <__rel_dyn_end-0x4b00>:
3328c: 00008020 andeq r8, r0, r0, lsr #32
33290: 00000017 andeq r0, r0, r7, lsl r0
33294: 00008024 andeq r8, r0, r4, lsr #32
33298: 00000017 andeq r0, r0, r7, lsl r0
3329c: 00008028 andeq r8, r0, r8, lsr #32
332a0: 00000017 andeq r0, r0, r7, lsl r0
332a4: 0000802c andeq r8, r0, ip, lsr #328020 is the address of _undefined_instruction, 8024 of _software_interrupt, etc., ...
In commit 41623c91, a specific section is created to contain these symbols called .vectors
with the attribute executable (SHF_EXECINSTR or "x").
The symbols of the exception vectors are not referenced in .rel.dyn:000332ac <__rel_dyn_end-0x4ac8>:
332ac: 00008538 andeq r8, r0, r8, lsr r5
332b0: 00000017 andeq r0, r0, r7, lsl r0
332b4: 0000853c andeq r8, r0, ip, lsr r5
332b8: 00000017 andeq r0, r0, r7, lsl r0
332bc: 00008540 andeq r8, r0, r0, asr #10
332c0: 00000017 andeq r0, r0, r7, lsl r0
332c4: 00008548 andeq r8, r0, r8, asr #10
332c8: 00000017 andeq r0, r0, r7, lsl r0
332cc: 0000854c andeq r8, r0, ip, asr #10What has changed between commit 41623c91^ and 41623c91 is the attribute of the section where the exception
vectors are.
If we add the lacking attribute (SHF_ALLOC or "a") for the definition of the section .vectors, the problem is solved.
According to [1], a allocatable section is "a section [that] occupies memory during process execution" which is
the case of .vectors.
To summarize, the issue is to set the section where the symbols _undefined_instruction, _software_interrupt, _prefetch_abort, _data_abort, _not_used, _irq and _fiq are as allocatable because the exception vectors
resides in memory during execution.
If we do not mark it as allocatable, these symbols will no be referenced for relocation.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
Quoted 7 lines
On a deeper level, note that many ARM targets around do not have free rein on where they can put vectors, e.g., they are limited to base addresses of
0x00000000or0xFFFF0000. Thus, in many cases, vector are relocated along with the rest of the image, but in fact, their base address will not be their relocated address, and they will require copying into whatever fixed location the target supports.
Quoted 5 lines
If you're going to fix general exception handling files (which I am quite fine with), I would prefer that you solve the general problem, i.e. either relocate vectors along with the code and fix VBAR on plaforms that can use it, or relocate them to the fixed location wher e the target expects them.
I didn't plan to to do that. But, I am ok to propose you a more general patch.
Regards,
Georges
Quoted 19 lines
Quoted 10 lines
--- arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/lib/vectors.S +0
-0arch/arm/lib/vectors.S line 39
Quoted 8 lines
arch/arm/lib/vectors.S +1
-1@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************Amicalement,
PATCH 2/3 arm1176: move exception vectors after relocation
In reply to Georges SavoundararadjARM1176 has security extensions which includes the Vector Base Address Register (VBAR) useful to move the exception vector after relocation. This fix is similar to what is done for the ARMv7 (f8b9d1d3).
--- arch/arm/cpu/arm1176/start.S | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/cpu/arm1176/start.S +6 -0
@@ -131,5 +131,11 @@ skip_tcmdisable: .globl c_runtime_cpu_setup c_runtime_cpu_setup: +/* + * Move vector table + */ + /* Set vector address in CP15 VBAR register */ + ldr r0, =_start + mcr p15, 0, r0, c12, c0, 0 @Set VBAR mov pc, lr
Signature · 1 line
2.1.0
PATCH 3/3 arm: enable_interrupts: set sp in IRQ/FIQ modes
In reply to Georges SavoundararadjThis commit sets the stack pointers for IRQ and FIQ modes.
--- arch/arm/lib/interrupts.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm/lib/interrupts.c +19 -0
@@ -34,6 +34,25 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT ), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (FIQ_MODE |I_BIT |F_BIT ), +"r" (FIQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (SVC_MODE |I_BIT |F_BIT ) + :"memory" ); +return arch_interrupt_init (); }
Signature · 1 line
2.1.0
cover arm: add interrupt support
In reply to Georges SavoundararadjQuoted 6 lines · On Sun, 21 Sep 2014 23:33:47 +0200 Georges Savoundararadj <[email protected]>…
Hi folks,
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
I am not sure if interrupt feature is necessary for a boot loader.
If context switches happen, do we also need to support spinlock etc.??
Best Regards
Masahiro Yamada
cover arm: add interrupt support
Le 22/09/2014 03:35, Masahiro Yamada a ?crit :
Quoted 11 lines
Quoted 6 lines · On Sun, 21 Sep 2014 23:33:47 +0200 Georges Savoundararadj<[email protected]>…
Hi folks,
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
I am not sure if interrupt feature is necessary for a boot loader.
Of course, It is not necessary.
But for U-boot, I think it is still important to handle exception correctly even if interrupts are not used. Don't you?
For instance, without these patches an undefined instruction or any other exception causes an unexpected behavior. It is better to handle properly these cases (dump registers and reset CPU, see functions do_* in arch/arm/lib/interrupts.c).
My patches should better be considered as *bugfixes*.
I should have explained better what these patches do:
* [PATCH 1/3] arm: make .vectors section allocatable:
This patch makes the symbols in the section .vectors relocatable. If the symbols address of undefined_instruction, for instance, is not fixed up after relocation, this could lead to an unexpected behavior. It fixes a regression introduced in commit 41623c91.
* [PATCH 2/3] arm1176: move exception vectors after relocation:
Without this patch, an exception will jump to the before relocation base address which is clearly a bug.
* [PATCH 3/3] arm: enable_interrupts: set sp in IRQ/FIQ modes:
The init_interrupt function is not complete because it does not configure the computed stack pointers. So, why should we compute IRQ_STACK_START and FIQ_STACK_START without using them?
I hope I am clear.
Regards,
Georges
cover arm: add interrupt support
Hi Georges,
2014-09-23 3:24 GMT+09:00 Georges Savoundararadj <[email protected]>:
Quoted 17 lines
Le 22/09/2014 03:35, Masahiro Yamada a ?crit :
Quoted 6 lines
Quoted 2 lines · On Sun, 21 Sep 2014 23:33:47 +0200 Georges Savoundararadj<[email protected]>…
Hi folks,
Quoted 7 lines
Quoted 4 lines
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
I am not sure if interrupt feature is necessary for a boot loader.
Of course, It is not necessary.
Quoted 9 lines
But for U-boot, I think it is still important to handle exception correctly even if interrupts are not used. Don't you?
For instance, without these patches an undefined instruction or any other exception causes an unexpected behavior. It is better to handle properly these cases (dump registers and reset CPU, see functions do_* in
arch/arm/lib/interrupts.c).
My patches should better be considered as *bugfixes*.
Sorry, totally my misunderstanding.
(I thought you were trying to implement a full interrupt feature.)
As long as they are bug fixes of exception handlers, they are fine.
I should have read your patches more carefully before my response. Again, my apologies..
Best Regards
Masahiro Yamada
Signature · 2 lines
Best Regards Masahiro Yamada
cover arm: add interrupt support
Hi Masahiro,
Quoted 30 lines · Masahiro YAMADA
Hi Georges,
2014-09-23 3:24 GMT+09:00 Georges Savoundararadj <[email protected]>:
Quoted 17 lines
Le 22/09/2014 03:35, Masahiro Yamada a ?crit :
Quoted 6 lines
Quoted 2 lines · On Sun, 21 Sep 2014 23:33:47 +0200 Georges Savoundararadj<[email protected]>…
Hi folks,
Quoted 7 lines
Quoted 4 lines
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
I am not sure if interrupt feature is necessary for a boot loader.
Of course, It is not necessary.
Quoted 9 lines
But for U-boot, I think it is still important to handle exception correctly even if interrupts are not used. Don't you?
For instance, without these patches an undefined instruction or any other exception causes an unexpected behavior. It is better to handle properly these cases (dump registers and reset CPU, see functions do_* in
arch/arm/lib/interrupts.c).
My patches should better be considered as *bugfixes*.
Quoted 7 lines
Sorry, totally my misunderstanding.
(I thought you were trying to implement a full interrupt feature.)As long as they are bug fixes of exception handlers, they are fine.
I should have read your patches more carefully before my response. Again, my apologies..
But then, the patch series needs at east to be reworded, since it does mention interrupts where actually all exceptions are involved.
Note to Georges: I am reading the patches right now and will comment on them.
Quoted 2 lines
Best Regards
Masahiro Yamada
Amicalement,
Signature · 1 line
Albert.
cover arm: add interrupt support
In reply to Georges SavoundararadjHi Georges,
Quoted 10 lines · Georges Savoundararadj
Hi folks,
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly.
My patches intend to make interrupt work.
Regards,
Georges
Could you please make the cover letter a summary of the patch series content, as is the custom here? I suggest using patman, which would help you managing not only the cover letter generation but also the change history of your patch series.
Amicalement,
Signature · 1 line
Albert.
v2 cover arm: fix exception handling
In reply to Georges SavoundararadjHi,
This series fixes the exception handling on ARM.
First of all, it makes the symbols of the exception vectors relocatable. Then, it ensures that the exception vectors are relocated. To do so, we copy or move the exception vectors depending on the processor capability. Also, this series configures correctly the IRQ and the FIQ stack pointers.
Regards,
Georges
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messages
Georges Savoundararadj (3):
arm: make .vectors section allocatable
arm: relocate the exception vectors
arm: interrupt_init: set sp in IRQ/FIQ modes
arch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/interrupts.c | 19 +++++++++++++++++++ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ arch/arm/lib/vectors.S | 2 +- 4 files changed, 50 insertions(+), 7 deletions(-)
Signature · 1 line
2.1.0
PATCH v2 1/3 arm: make .vectors section allocatable
A regression was introduced in commit 41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction, _software_interrupt, _prefetch_abort, _data_abort, _not_used, _irq and _fiq.
Before commit 41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].
In commit 41623c91, a specific section is created, called .vectors, with the attribute executable only.
What have changed between commit 41623c91^ and 41623c91 is the attribute of the section which contains the exception vectors.
An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOC or "a") for the definition of the section .vectors fixed the issue.
To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
---
Changes in v2:
- Reword the commit message
arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/vectors.S +1 -1
@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************
Signature · 1 line
2.1.0
PATCH v2 2/3 arm: relocate the exception vectors
In reply to Georges SavoundararadjThis commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x00000000 or 0xFFFF0000.
---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit message
arch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)
arch/arm/cpu/armv7/start.S +0 -6
@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lr
arch/arm/lib/relocate.S +30 -0
@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*
@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop + /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7)) + /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */ + ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done: #ifdef __XSCALE__
Signature · 1 line
2.1.0
PATCH v2 2/3 arm: relocate the exception vectors
Hi Georges,
Quoted 54 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 7 lines
arch/arm/lib/relocate.S +4
-0@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop + /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))
I would prefer a single CONFIG_HAS_VBAR symbol defined through Kconfig.
Quoted 17 lines
arch/arm/lib/relocate.S +17
-0+ /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */
arch/arm/lib/relocate.S fixnext: · line 87
Quoted 10 lines
arch/arm/lib/relocate.S +7
-0+ ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done: #ifdef __XSCALE__
Amicalement,
Signature · 1 line
Albert.
PATCH v2 2/3 arm: relocate the exception vectors
Hi Albert,
Hi Masahiro,
As my issue is related to Kconfig, I would like you to give me your opinions.
Le 11/10/2014 12:47, Albert ARIBAUD a ?crit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop
Quoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.
1)
Actually, there is no Kconfig entry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).
If there were such entries, we would simply do like the following (in arch/arm/Kconfig):
config HAS_VBAR
bool
config ARM1176
select HAS_VBAR
config ARMV7
select HAS_VBAR
Should we go in this direction?
It is the cleanest way to use Kconfig but it requires some work in order to convert all
"#define CONFIG_<cpu>" into Kconfig entries.
2)
Otherwise, we can insert a "select HAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor in arch/arm/Kconfig. It is not logical but this is what has been done with the Kconfig
entry ARM64. And, it does not require much change.
3)
The last thing we can do is as follows:
config HAS_VBAR
bool
depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7"
default yCONFIG_HAS_VBAR will be defined if SYS_CPU are arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.
What do you think is the best way to introduce CONFIG_HAS_VBAR symbol? (1, 2 or 3)
Quoted 26 lines
Quoted 26 lines
arch/arm/lib/relocate.S +24
-0+ /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */ + ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done:
Quoted 3 lines
arch/arm/lib/relocate.S fixnext: · line 87
Quoted 1 line
arch/arm/lib/relocate.S +0
-0#ifdef __XSCALE__Amicalement,
Regards,
Georges
PATCH v2 2/3 arm: relocate the exception vectors
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 110 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ?crit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloopQuoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default y
Quoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)
I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
Signature · 1 line
Albert.
PATCH v2 2/3 arm: relocate the exception vectors
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ?crit :
Quoted 131 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 110 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ?crit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloopQuoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder
if this work worth the effort just for one CPU feature. Do you expect more CPU feature like HAS_VBAR coming in the future?
I add the following lines in arch/arm/Kconfig:
config HAS_VBAR
bool
config ARM1176
bool
select HAS_VBAR
config ARMV7
bool
select HAS_VBAR
config SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7".
Also, I delete the Kconfig entries "config SYS_CPU" in all Kconfig of *all* boards that use ARM1176 and ARMV7.
Actually, I find the change quite big. What do you think about this implementation?
Should I continue in this direction?
Regards,
Georges
PATCH v2 2/3 arm: relocate the exception vectors
Hi Georges and Albert,
Sorry for late reply because I was out of office for ELCE2014 and missed this thread.
Quoted 156 lines · On Mon, 20 Oct 2014 23:08:30 +0200 Georges Savoundararadj <[email protected]>…
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ecrit :
Quoted 126 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 105 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ecrit :
Quoted 55 lines
Hi Georges,
Quoted 50 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR >>>> bx lr >>>> diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.Sindex 8035251..88a478e 100644
arch/arm/lib/relocate.S +1
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ >>>> +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> >>>> /*@@ -52,6 +54,34 @@ fixnext:Quoted 8 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 6 lines
arch/arm/lib/relocate.S +3
-0cmp r2, r3 blo fixloop >>>> + /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder if this work worth the effort just for one CPU feature.
Do you expect more CPU feature likeHAS_VBARcoming in the future?I add the following lines in
arch/arm/Kconfig:
configHAS_VBAR
boolconfig ARM1176
bool
selectHAS_VBARconfig ARMV7
bool
selectHAS_VBARconfig
SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7
Quoted 6 lines
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7". Also, I delete the
Kconfigentries "configSYS_CPU" in allKconfigof *all* boards that use ARM1176 and ARMV7.Actually, I find the change quite big. What do you think about this implementation? Should I continue in this direction?
Agreed on 1).
I was thinking about this since I introduced Kconfig at 2014.10-rc1. It is good to know you're working on this since it can save my time. :-)
My only request is, can you use CPU_ARM1176, CPU_V7 instead of ARM1176, ARMV7 ? It looks like arm/arm/mm/Kconfig uses this way and CONFIG_CPU_ prefix makes things clear.
CONFIG_ARM1176 and CONFIG_ARMV7 are never referenced at all. Also, CONFIG_ARMV7 is only defined in some armv7 boards. For instance, Zynq boards define it but Tegra boards don't. It is useless and should be removed someday.
I have a question:
You are covering only arm1176 and armv7.
What about arm1136?
I am not sure, but arm1136 and arm1176 both belong to ARMv6 generation? If so, does arm1136 have VBAR register, doesn't it?
Best Regards
Masahiro Yamada
PATCH v2 2/3 arm: relocate the exception vectors
Hi Masahiro,
Quoted 7 lines · Masahiro Yamada
I have a question:
You are covering only arm1176 and armv7.
What about arm1136?I am not sure, but arm1136 and arm1176 both belong to ARMv6 generation? If so, does arm1136 have VBAR register, doesn't it?
ARM1136 is ARMv6 but does not have VBAR. Its vectors can only be at 0x00000000 or 0xFFFF0000 (see page 3-65 of the ARM1136 ARM r1p5, DDI0211K).
Quoted 2 lines
Best Regards
Masahiro Yamada
Amicalement,
Signature · 1 line
Albert.
PATCH v2 2/3 arm: relocate the exception vectors
Hi Albert,
Quoted 10 lines · On Tue, 21 Oct 2014 16:05:25 +0200 Albert ARIBAUD <[email protected]>…
Hi Masahiro,
Quoted 5 lines · Masahiro Yamada
I have a question:
You are covering only arm1176 and armv7.
What about arm1136?
Quoted 6 lines
Quoted 2 lines
I am not sure, but arm1136 and arm1176 both belong to ARMv6 generation? If so, does arm1136 have VBAR register, doesn't it?
ARM1136 is ARMv6 but does not have VBAR. Its vectors can only be at
0x00000000or0xFFFF0000(see page 3-65 of the ARM1136 ARM r1p5, DDI0211K).
Sorry, I did not know this. Just disregard my comment, please.
Best Regards
Masahiro Yamada
PATCH v2 2/3 arm: relocate the exception vectors
In reply to Masahiro YamadaHi Masahiro,
Le 21/10/2014 07:41, Masahiro Yamada a ?crit :
Quoted 171 lines
Hi Georges and Albert,
Sorry for late reply because I was out of office for ELCE2014 and missed this thread.
Quoted 155 lines · On Mon, 20 Oct 2014 23:08:30 +0200 Georges Savoundararadj <[email protected]>…
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ecrit :
Quoted 126 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 105 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ecrit :
Quoted 55 lines
Hi Georges,
Quoted 50 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR >>>> bx lr >>>> diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.Sindex 8035251..88a478e 100644
arch/arm/lib/relocate.S +1
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ >>>> +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> >>>> /*@@ -52,6 +54,34 @@ fixnext:Quoted 8 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 6 lines
arch/arm/lib/relocate.S +3
-0cmp r2, r3 blo fixloop >>>> + /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder if this work worth the effort just for one CPU feature.
Do you expect more CPU feature likeHAS_VBARcoming in the future?I add the following lines in
arch/arm/Kconfig:
configHAS_VBAR
boolconfig ARM1176
bool
selectHAS_VBARconfig ARMV7
bool
selectHAS_VBARconfig
SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7Quoted 6 lines
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7". Also, I delete the
Kconfigentries "configSYS_CPU" in allKconfigof *all* boards that use ARM1176 and ARMV7.Actually, I find the change quite big. What do you think about this implementation? Should I continue in this direction?
Quoted 7 lines
Agreed on 1).
I was thinking about this since I introduced
Kconfigat 2014.10-rc1. It is good to know you're working on this since it can save my time. :-)My only request is, can you use
CPU_ARM1176,CPU_V7instead of ARM1176, ARMV7 ? It looks like arm/arm/mm/Kconfig uses this way andCONFIG_CPU_prefix makes things clear.
OK, I will use them.
Quoted 5 lines
CONFIG_ARM1176andCONFIG_ARMV7are never referenced at all. Also,CONFIG_ARMV7is only defined in some armv7 boards. For instance, Zynq boards define it but Tegra boards don't. It is useless and should be removed someday.
OK.
Quoted 14 lines
I have a question:
You are covering only arm1176 and armv7.
What about arm1136?I am not sure, but arm1136 and arm1176 both belong to ARMv6 generation? If so, does arm1136 have VBAR register, doesn't it?
Quoted 3 lines
Best Regards
Masahiro Yamada
Thanks,
Georges
PATCH v2 2/3 arm: relocate the exception vectors
In reply to Georges SavoundararadjHi Georges,
Quoted 162 lines · Georges Savoundararadj
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ?crit :
Quoted 131 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 110 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ?crit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloopQuoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder
if this work worth the effort just for one CPU feature. Do you expect more CPU feature likeHAS_VBARcoming in the future?I add the following lines in
arch/arm/Kconfig:
configHAS_VBAR
boolconfig ARM1176
bool
selectHAS_VBARconfig ARMV7
bool
selectHAS_VBARconfig
SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7
Quoted 8 lines
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7".
Also, I delete theKconfigentries "configSYS_CPU" in allKconfigof *all* boards that use ARM1176 and ARMV7.Actually, I find the change quite big. What do you think about this implementation?
Should I continue in this direction?
This looks like the right way to me (even if ideally I would prefer that SYS_CPU be deduced from the SYS_SOC defined in the boards' Kconfig files rather than added to them).
Hopefully you can devise a sed, awk o perl script to do the change without too much manual effort?
Incidentally, this raises a question which Masahiro can probably answer. In arch/arm/Kconfig, every ARM board is referred to twice:
- once in a "config TARGET_<board>" block;
- once in a "source board[/<maker>]/<board>/Kconfig directive.
Would it be possible to move each "TARGET_<board>" block from arch/arm/Kconfig to the corresponding board[/<maker>]/<board>/Kconfig and only keep the "source" directives in arch/arm/Kconfig?
(and then, I'd *really* like a way to source all ARM-based boards in a few lines, e.g. source /board/*/Kconfig + source board/*/*/Kconfig)
It would be nice if all Kconfig settings for a given board were found in the board's Kconfig.
Quoted 3 lines
Regards,
Georges
Amicalement,
Signature · 1 line
Albert.
PATCH v2 2/3 arm: relocate the exception vectors
Hi Albert,
Quoted 186 lines · On Tue, 21 Oct 2014 15:54:51 +0200 Albert ARIBAUD <[email protected]>…
Hi Georges,
Quoted 162 lines · Georges Savoundararadj
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ecrit :
Quoted 131 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 110 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ecrit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloopQuoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder
if this work worth the effort just for one CPU feature. Do you expect more CPU feature likeHAS_VBARcoming in the future?I add the following lines in
arch/arm/Kconfig:
configHAS_VBAR
boolconfig ARM1176
bool
selectHAS_VBARconfig ARMV7
bool
selectHAS_VBARconfig
SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7Quoted 8 lines
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7".
Also, I delete theKconfigentries "configSYS_CPU" in allKconfigof *all* boards that use ARM1176 and ARMV7.Actually, I find the change quite big. What do you think about this implementation?
Should I continue in this direction?This looks like the right way to me (even if ideally I would prefer that
SYS_CPUbe deduced from theSYS_SOCdefined in the boards'Kconfigfiles rather than added to them).Hopefully you can devise a sed, awk o perl script to do the change without too much manual effort?
Incidentally, this raises a question which Masahiro can probably answer. In
arch/arm/Kconfig, every ARM board is referred to twice:
Quoted 7 lines
- once in a "config TARGET_<board>" block;
- once in a "source board[/<maker>]/<board>/Kconfig directive.
Would it be possible to move each "TARGET_<board>" block from
arch/arm/Kconfigto the corresponding board[/<maker>]/<board>/Kconfig and only keep the "source" directives inarch/arm/Kconfig?
I think it is impossible.
The first one appears in "config choice" .. "endchoice" to select an appropriate board/platform.
Quoted 5 lines
(and then, I'd *really* like a way to source all ARM-based boards in a few lines, e.g. source /board/*/Kconfig + source board/*/*/Kconfig)
It would be nice if all
Kconfigsettings for a given board were found in the board'sKconfig.
I have no idea to achieve this.
Best Regards
Masahiro Yamada
PATCH v2 2/3 arm: relocate the exception vectors
Hi Albert and Masahiro,
Le 22/10/2014 11:54, Masahiro Yamada a ?crit :
Quoted 4 lines
Hi Albert,
Quoted 178 lines
Quoted 175 lines · On Tue, 21 Oct 2014 15:54:51 +0200 Albert ARIBAUD <[email protected]>…
Hi Georges,
Quoted 161 lines · Georges Savoundararadj
Hi Albert,
Le 15/10/2014 00:11, Albert ARIBAUD a ecrit :
Quoted 131 lines
Hi Georges,
Quoted 3 lines · Georges Savoundararadj
Hi Albert,
Hi Masahiro,
(putting Masahiro in Cc: just in case)
Quoted 110 lines
As my issue is related to
Kconfig, I would like you to give me your opinions.Le 11/10/2014 12:47, Albert ARIBAUD a ecrit :
Quoted 62 lines
Hi Georges,
Quoted 57 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +2
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloopQuoted 6 lines
arch/arm/lib/relocate.S fixnext: · line 60
Quoted 4 lines
arch/arm/lib/relocate.S +4
-0+ /* + * Relocate the exception vectors + */ +#if (defined(CONFIG_ARM1176) || defined(CONFIG_ARMV7))I would prefer a single
CONFIG_HAS_VBARsymbol defined throughKconfig.1)
Actually, there is noKconfigentry such as "config ARM1176" nor "config ARMV7" in U-Boot,
unlike in Linux (arch/arm/mm/Kconfig).If there were such entries, we would simply do like the following (in
arch/arm/Kconfig):config
HAS_VBAR
boolconfig ARM1176
selectHAS_VBARconfig ARMV7
selectHAS_VBARShould we go in this direction?
It is the cleanest way to useKconfigbut it requires some work in order to convert all
"#define CONFIG_<cpu>" intoKconfigentries.2)
Otherwise, we can insert a "selectHAS_VBAR" in all boards that have a ARM1176 or a ARMv7
processor inarch/arm/Kconfig. It is not logical but this is what has been done with theKconfig
entry ARM64. And, it does not require much change.3)
The last thing we can do is as follows:config
HAS_VBARbool depends on SYS_CPU = "arm1176" || SYS_CPU = "armv7" default yQuoted 6 lines
CONFIG_HAS_VBARwill be defined ifSYS_CPUare arm1176 or armv7. It does not require much
change as well but, I think, it is bad code.What do you think is the best way to introduce
CONFIG_HAS_VBARsymbol? (1, 2 or 3)I believe you have already sorted the options in order of decreasing 'quality' -- 1 being the best option, and 3 being the worst... Indeed option 1 would be the best and cleanest, and it could possibly open the way for other per-CPU options.
Quoted 6 lines
We could try and limit the effort to converting only ARM1176 and ARMV7 and leaving other CONFIG_<cpu> #define'd until some later point in the future, but experience shows that such half-hearted attempts are never completed.
Amicalement,
I am currently trying to implement solution 1. only for ARM1176 and ARMV7 but I wonder
if this work worth the effort just for one CPU feature. Do you expect more CPU feature likeHAS_VBARcoming in the future?I add the following lines in
arch/arm/Kconfig:
configHAS_VBAR
boolconfig ARM1176
bool
selectHAS_VBARconfig ARMV7
bool
selectHAS_VBARconfig
SYS_CPU
default "arm1176" if ARM1176
default "armv7" if ARMV7Quoted 8 lines
Then, in the same file, under each "config TARGET_<board>", I add "select ARM1176" or "select ARMV7".
Also, I delete theKconfigentries "configSYS_CPU" in allKconfigof *all* boards that use ARM1176 and ARMV7.Actually, I find the change quite big. What do you think about this implementation?
Should I continue in this direction?This looks like the right way to me
OK, that's what I wanted to know.
Quoted 3 lines
Quoted 3 lines
(even if ideally I would prefer
thatSYS_CPUbe deduced from theSYS_SOCdefined in the boards'Kconfigfiles rather than added to them).
OK.
Quoted 2 lines
Quoted 2 lines
Hopefully you can devise a sed, awk o perl script to do the change without too much manual effort?
Yes, I can try to script.
Quoted 17 lines
Quoted 10 lines
Incidentally, this raises a question which Masahiro can probably answer. In
arch/arm/Kconfig, every ARM board is referred to twice:- once in a "config TARGET_<board>" block;
- once in a "source board[/<maker>]/<board>/Kconfig directive.
Would it be possible to move each "TARGET_<board>" block from
arch/arm/Kconfigto the corresponding board[/<maker>]/<board>/Kconfig and only keep the "source" directives inarch/arm/Kconfig?I think it is impossible.
The first one appears in "config choice" .. "endchoice" to select an appropriate board/platform.
Quoted 7 lines
Quoted 5 lines
(and then, I'd *really* like a way to source all ARM-based boards in a few lines, e.g. source /board/*/Kconfig + source board/*/*/Kconfig)
It would be nice if all
Kconfigsettings for a given board were found in the board'sKconfig.I have no idea to achieve this.
@Albert: I will see what can I do.
Should I post the Kconfig patch in a separate series ?
Quoted 5 lines
Best Regards
Masahiro Yamada
Thanks for your advices,
Regards,
Georges
PATCH v2 3/3 arm: interrupt_init: set sp in IRQ/FIQ modes
In reply to Georges SavoundararadjBefore this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used.
This commit sets the stack pointers for IRQ and FIQ modes.
---
Changes in v2:
- Reword the commit message
arch/arm/lib/interrupts.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm/lib/interrupts.c +19 -0
@@ -34,6 +34,25 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT ), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (FIQ_MODE |I_BIT |F_BIT ), +"r" (FIQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (SVC_MODE |I_BIT |F_BIT ) + :"memory" ); +return arch_interrupt_init (); }
Signature · 1 line
2.1.0
v3 cover arm: fix exception handling
In reply to Georges SavoundararadjHi,
This series fixes the exception handling on ARM.
First of all, it makes the symbols of the exception vectors relocatable. Then, it ensures that the exception vectors are relocated. To do so, we copy or move the exception vectors depending on the CPU features.
In order to handle gracefully CPU features, this commit introduces Kconfig symbols for each ARM processor and it selects through Kconfig the feature HAS_VBAR for the right CPUs.
Also, this series configures correctly the IRQ and the FIQ stack pointers.
Regards,
Georges
Changes in v3:
- Use the CPU feature HAS_VBAR Kconfig symbol
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messages
Georges Savoundararadj (4):
kconfig: arm: introduce symbol for ARM CPUs
arm: make .vectors section allocatable
arm: relocate the exception vectors
arm: interrupt_init: set sp in IRQ/FIQ modes
arch/arm/Kconfig | 209 +++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 3 - arch/arm/cpu/arm926ejs/kirkwood/Kconfig | 3 - arch/arm/cpu/arm926ejs/nomadik/Kconfig | 3 - arch/arm/cpu/arm926ejs/orion5x/Kconfig | 3 - arch/arm/cpu/arm926ejs/versatile/Kconfig | 3 - arch/arm/cpu/armv7/exynos/Kconfig | 3 - arch/arm/cpu/armv7/highbank/Kconfig | 3 - arch/arm/cpu/armv7/keystone/Kconfig | 3 - arch/arm/cpu/armv7/omap3/Kconfig | 3 - arch/arm/cpu/armv7/omap4/Kconfig | 3 - arch/arm/cpu/armv7/omap5/Kconfig | 3 - arch/arm/cpu/armv7/rmobile/Kconfig | 3 - arch/arm/cpu/armv7/s5pc1xx/Kconfig | 3 - arch/arm/cpu/armv7/start.S | 6 - arch/arm/cpu/armv7/uniphier/Kconfig | 6 - arch/arm/cpu/armv7/zynq/Kconfig | 3 - arch/arm/lib/interrupts.c | 19 +++ arch/arm/lib/relocate.S | 30 +++++ arch/arm/lib/vectors.S | 2 +- board/BuR/kwb/Kconfig | 3 - board/BuR/tseries/Kconfig | 3 - board/BuS/eb_cpux9k2/Kconfig | 3 - board/BuS/vl_ma2sc/Kconfig | 3 - board/CarMediaLab/flea3/Kconfig | 3 - board/Marvell/aspenite/Kconfig | 3 - board/Marvell/dkb/Kconfig | 3 - board/Marvell/gplugd/Kconfig | 3 - board/afeb9260/Kconfig | 3 - board/altera/socfpga/Kconfig | 3 - board/aristainetos/Kconfig | 3 - board/armadeus/apf27/Kconfig | 3 - board/armltd/integrator/Kconfig | 24 ---- board/armltd/vexpress/Kconfig | 9 -- board/atmel/at91rm9200ek/Kconfig | 3 - board/atmel/at91sam9260ek/Kconfig | 3 - board/atmel/at91sam9261ek/Kconfig | 3 - board/atmel/at91sam9263ek/Kconfig | 3 - board/atmel/at91sam9m10g45ek/Kconfig | 3 - board/atmel/at91sam9n12ek/Kconfig | 3 - board/atmel/at91sam9rlek/Kconfig | 3 - board/atmel/at91sam9x5ek/Kconfig | 3 - board/atmel/sama5d3_xplained/Kconfig | 3 - board/atmel/sama5d3xek/Kconfig | 3 - board/bachmann/ot1200/Kconfig | 8 -- board/balloon3/Kconfig | 3 - board/barco/titanium/Kconfig | 3 - board/bluegiga/apx4devkit/Kconfig | 3 - board/bluewater/snapper9260/Kconfig | 3 - board/boundary/nitrogen6x/Kconfig | 3 - board/broadcom/bcm28155_ap/Kconfig | 3 - board/broadcom/bcm958300k/Kconfig | 3 - board/broadcom/bcm958622hr/Kconfig | 3 - board/calao/sbc35_a9g20/Kconfig | 3 - board/calao/tny_a9260/Kconfig | 3 - board/calao/usb_a9263/Kconfig | 3 - board/cirrus/edb93xx/Kconfig | 3 - board/cm4008/Kconfig | 3 - board/cm41xx/Kconfig | 3 - board/compulab/cm_fx6/Kconfig | 8 -- board/compulab/cm_t335/Kconfig | 3 - board/congatec/cgtqmx6eval/Kconfig | 3 - board/creative/xfi3/Kconfig | 3 - board/davedenx/qong/Kconfig | 3 - board/denx/m28evk/Kconfig | 3 - board/denx/m53evk/Kconfig | 3 - board/egnite/ethernut5/Kconfig | 3 - board/embest/mx6boards/Kconfig | 3 - board/emk/top9000/Kconfig | 3 - board/esd/meesc/Kconfig | 3 - board/esd/otc570/Kconfig | 3 - board/esg/ima3-mx53/Kconfig | 3 - board/eukrea/cpu9260/Kconfig | 3 - board/eukrea/cpuat91/Kconfig | 3 - board/faraday/a320evb/Kconfig | 3 - board/freescale/ls1021aqds/Kconfig | 3 - board/freescale/ls1021atwr/Kconfig | 3 - board/freescale/mx23evk/Kconfig | 3 - board/freescale/mx25pdk/Kconfig | 3 - board/freescale/mx28evk/Kconfig | 3 - board/freescale/mx31ads/Kconfig | 3 - board/freescale/mx31pdk/Kconfig | 3 - board/freescale/mx35pdk/Kconfig | 3 - board/freescale/mx51evk/Kconfig | 3 - board/freescale/mx53ard/Kconfig | 3 - board/freescale/mx53evk/Kconfig | 3 - board/freescale/mx53loco/Kconfig | 3 - board/freescale/mx53smd/Kconfig | 3 - board/freescale/mx6qarm2/Kconfig | 3 - board/freescale/mx6qsabreauto/Kconfig | 3 - board/freescale/mx6sabresd/Kconfig | 3 - board/freescale/mx6slevk/Kconfig | 3 - board/freescale/mx6sxsabresd/Kconfig | 3 - board/freescale/vf610twr/Kconfig | 3 - board/gateworks/gw_ventana/Kconfig | 3 - board/genesi/mx51_efikamx/Kconfig | 3 - board/gumstix/pepper/Kconfig | 3 - board/h2200/Kconfig | 3 - board/hale/tt01/Kconfig | 3 - board/icpdas/lp8x4x/Kconfig | 3 - board/imx31_phycore/Kconfig | 3 - board/isee/igep0033/Kconfig | 3 - board/jornada/Kconfig | 3 - board/karo/tx25/Kconfig | 3 - board/logicpd/imx27lite/Kconfig | 6 - board/logicpd/imx31_litekit/Kconfig | 3 - board/mpl/vcma9/Kconfig | 3 - board/olimex/mx23_olinuxino/Kconfig | 3 - board/palmld/Kconfig | 3 - board/palmtc/Kconfig | 3 - board/palmtreo680/Kconfig | 3 - board/phytec/pcm051/Kconfig | 3 - board/ppcag/bg0900/Kconfig | 3 - board/pxa255_idp/Kconfig | 3 - board/raspberrypi/rpi_b/Kconfig | 3 - board/ronetix/pm9261/Kconfig | 3 - board/ronetix/pm9263/Kconfig | 3 - board/ronetix/pm9g45/Kconfig | 3 - board/samsung/goni/Kconfig | 3 - board/samsung/smdk2410/Kconfig | 3 - board/samsung/smdkc100/Kconfig | 3 - board/sandisk/sansa_fuze_plus/Kconfig | 3 - board/scb9328/Kconfig | 3 - board/schulercontrol/sc_sps_1/Kconfig | 3 - board/siemens/corvus/Kconfig | 3 - board/siemens/draco/Kconfig | 6 - board/siemens/pxm2/Kconfig | 3 - board/siemens/rut/Kconfig | 3 - board/siemens/taurus/Kconfig | 3 - board/silica/pengwyn/Kconfig | 3 - board/solidrun/hummingboard/Kconfig | 3 - board/spear/spear300/Kconfig | 3 - board/spear/spear310/Kconfig | 3 - board/spear/spear320/Kconfig | 3 - board/spear/spear600/Kconfig | 3 - board/spear/x600/Kconfig | 3 - board/st-ericsson/snowball/Kconfig | 3 - board/st-ericsson/u8500/Kconfig | 3 - board/sunxi/Kconfig | 3 - board/syteco/jadecpu/Kconfig | 3 - board/syteco/zmx25/Kconfig | 3 - board/taskit/stamp9g20/Kconfig | 3 - board/ti/am335x/Kconfig | 3 - board/ti/am43xx/Kconfig | 3 - board/ti/ti814x/Kconfig | 3 - board/ti/ti816x/Kconfig | 3 - board/ti/tnetv107xevm/Kconfig | 3 - board/timll/devkit3250/Kconfig | 3 - board/toradex/colibri_pxa270/Kconfig | 3 - board/tqc/tqma6/Kconfig | 3 - board/trizepsiv/Kconfig | 3 - board/ttcontrol/vision2/Kconfig | 3 - board/udoo/Kconfig | 3 - board/vpac270/Kconfig | 3 - board/wandboard/Kconfig | 3 - board/woodburn/Kconfig | 6 - board/xaeniax/Kconfig | 3 - board/zipitz2/Kconfig | 3 - 158 files changed, 259 insertions(+), 515 deletions(-)
Signature · 1 line
2.1.2
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136, CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
---
This patch needs a little review as it impacts many files.
Changes in v3:
- Add this commit
Changes in v2: None
arch/arm/Kconfig | 209 +++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 3 - arch/arm/cpu/arm926ejs/kirkwood/Kconfig | 3 - arch/arm/cpu/arm926ejs/nomadik/Kconfig | 3 - arch/arm/cpu/arm926ejs/orion5x/Kconfig | 3 - arch/arm/cpu/arm926ejs/versatile/Kconfig | 3 - arch/arm/cpu/armv7/exynos/Kconfig | 3 - arch/arm/cpu/armv7/highbank/Kconfig | 3 - arch/arm/cpu/armv7/keystone/Kconfig | 3 - arch/arm/cpu/armv7/omap3/Kconfig | 3 - arch/arm/cpu/armv7/omap4/Kconfig | 3 - arch/arm/cpu/armv7/omap5/Kconfig | 3 - arch/arm/cpu/armv7/rmobile/Kconfig | 3 - arch/arm/cpu/armv7/s5pc1xx/Kconfig | 3 - arch/arm/cpu/armv7/uniphier/Kconfig | 6 - arch/arm/cpu/armv7/zynq/Kconfig | 3 - board/BuR/kwb/Kconfig | 3 - board/BuR/tseries/Kconfig | 3 - board/BuS/eb_cpux9k2/Kconfig | 3 - board/BuS/vl_ma2sc/Kconfig | 3 - board/CarMediaLab/flea3/Kconfig | 3 - board/Marvell/aspenite/Kconfig | 3 - board/Marvell/dkb/Kconfig | 3 - board/Marvell/gplugd/Kconfig | 3 - board/afeb9260/Kconfig | 3 - board/altera/socfpga/Kconfig | 3 - board/aristainetos/Kconfig | 3 - board/armadeus/apf27/Kconfig | 3 - board/armltd/integrator/Kconfig | 24 ---- board/armltd/vexpress/Kconfig | 9 -- board/atmel/at91rm9200ek/Kconfig | 3 - board/atmel/at91sam9260ek/Kconfig | 3 - board/atmel/at91sam9261ek/Kconfig | 3 - board/atmel/at91sam9263ek/Kconfig | 3 - board/atmel/at91sam9m10g45ek/Kconfig | 3 - board/atmel/at91sam9n12ek/Kconfig | 3 - board/atmel/at91sam9rlek/Kconfig | 3 - board/atmel/at91sam9x5ek/Kconfig | 3 - board/atmel/sama5d3_xplained/Kconfig | 3 - board/atmel/sama5d3xek/Kconfig | 3 - board/bachmann/ot1200/Kconfig | 8 -- board/balloon3/Kconfig | 3 - board/barco/titanium/Kconfig | 3 - board/bluegiga/apx4devkit/Kconfig | 3 - board/bluewater/snapper9260/Kconfig | 3 - board/boundary/nitrogen6x/Kconfig | 3 - board/broadcom/bcm28155_ap/Kconfig | 3 - board/broadcom/bcm958300k/Kconfig | 3 - board/broadcom/bcm958622hr/Kconfig | 3 - board/calao/sbc35_a9g20/Kconfig | 3 - board/calao/tny_a9260/Kconfig | 3 - board/calao/usb_a9263/Kconfig | 3 - board/cirrus/edb93xx/Kconfig | 3 - board/cm4008/Kconfig | 3 - board/cm41xx/Kconfig | 3 - board/compulab/cm_fx6/Kconfig | 8 -- board/compulab/cm_t335/Kconfig | 3 - board/congatec/cgtqmx6eval/Kconfig | 3 - board/creative/xfi3/Kconfig | 3 - board/davedenx/qong/Kconfig | 3 - board/denx/m28evk/Kconfig | 3 - board/denx/m53evk/Kconfig | 3 - board/egnite/ethernut5/Kconfig | 3 - board/embest/mx6boards/Kconfig | 3 - board/emk/top9000/Kconfig | 3 - board/esd/meesc/Kconfig | 3 - board/esd/otc570/Kconfig | 3 - board/esg/ima3-mx53/Kconfig | 3 - board/eukrea/cpu9260/Kconfig | 3 - board/eukrea/cpuat91/Kconfig | 3 - board/faraday/a320evb/Kconfig | 3 - board/freescale/ls1021aqds/Kconfig | 3 - board/freescale/ls1021atwr/Kconfig | 3 - board/freescale/mx23evk/Kconfig | 3 - board/freescale/mx25pdk/Kconfig | 3 - board/freescale/mx28evk/Kconfig | 3 - board/freescale/mx31ads/Kconfig | 3 - board/freescale/mx31pdk/Kconfig | 3 - board/freescale/mx35pdk/Kconfig | 3 - board/freescale/mx51evk/Kconfig | 3 - board/freescale/mx53ard/Kconfig | 3 - board/freescale/mx53evk/Kconfig | 3 - board/freescale/mx53loco/Kconfig | 3 - board/freescale/mx53smd/Kconfig | 3 - board/freescale/mx6qarm2/Kconfig | 3 - board/freescale/mx6qsabreauto/Kconfig | 3 - board/freescale/mx6sabresd/Kconfig | 3 - board/freescale/mx6slevk/Kconfig | 3 - board/freescale/mx6sxsabresd/Kconfig | 3 - board/freescale/vf610twr/Kconfig | 3 - board/gateworks/gw_ventana/Kconfig | 3 - board/genesi/mx51_efikamx/Kconfig | 3 - board/gumstix/pepper/Kconfig | 3 - board/h2200/Kconfig | 3 - board/hale/tt01/Kconfig | 3 - board/icpdas/lp8x4x/Kconfig | 3 - board/imx31_phycore/Kconfig | 3 - board/isee/igep0033/Kconfig | 3 - board/jornada/Kconfig | 3 - board/karo/tx25/Kconfig | 3 - board/logicpd/imx27lite/Kconfig | 6 - board/logicpd/imx31_litekit/Kconfig | 3 - board/mpl/vcma9/Kconfig | 3 - board/olimex/mx23_olinuxino/Kconfig | 3 - board/palmld/Kconfig | 3 - board/palmtc/Kconfig | 3 - board/palmtreo680/Kconfig | 3 - board/phytec/pcm051/Kconfig | 3 - board/ppcag/bg0900/Kconfig | 3 - board/pxa255_idp/Kconfig | 3 - board/raspberrypi/rpi_b/Kconfig | 3 - board/ronetix/pm9261/Kconfig | 3 - board/ronetix/pm9263/Kconfig | 3 - board/ronetix/pm9g45/Kconfig | 3 - board/samsung/goni/Kconfig | 3 - board/samsung/smdk2410/Kconfig | 3 - board/samsung/smdkc100/Kconfig | 3 - board/sandisk/sansa_fuze_plus/Kconfig | 3 - board/scb9328/Kconfig | 3 - board/schulercontrol/sc_sps_1/Kconfig | 3 - board/siemens/corvus/Kconfig | 3 - board/siemens/draco/Kconfig | 6 - board/siemens/pxm2/Kconfig | 3 - board/siemens/rut/Kconfig | 3 - board/siemens/taurus/Kconfig | 3 - board/silica/pengwyn/Kconfig | 3 - board/solidrun/hummingboard/Kconfig | 3 - board/spear/spear300/Kconfig | 3 - board/spear/spear310/Kconfig | 3 - board/spear/spear320/Kconfig | 3 - board/spear/spear600/Kconfig | 3 - board/spear/x600/Kconfig | 3 - board/st-ericsson/snowball/Kconfig | 3 - board/st-ericsson/u8500/Kconfig | 3 - board/sunxi/Kconfig | 3 - board/syteco/jadecpu/Kconfig | 3 - board/syteco/zmx25/Kconfig | 3 - board/taskit/stamp9g20/Kconfig | 3 - board/ti/am335x/Kconfig | 3 - board/ti/am43xx/Kconfig | 3 - board/ti/ti814x/Kconfig | 3 - board/ti/ti816x/Kconfig | 3 - board/ti/tnetv107xevm/Kconfig | 3 - board/timll/devkit3250/Kconfig | 3 - board/toradex/colibri_pxa270/Kconfig | 3 - board/tqc/tqma6/Kconfig | 3 - board/trizepsiv/Kconfig | 3 - board/ttcontrol/vision2/Kconfig | 3 - board/udoo/Kconfig | 3 - board/vpac270/Kconfig | 3 - board/wandboard/Kconfig | 3 - board/woodburn/Kconfig | 6 - board/xaeniax/Kconfig | 3 - board/zipitz2/Kconfig | 3 - 154 files changed, 209 insertions(+), 508 deletions(-)
arch/arm/Kconfig +209 -0
@@ -7,139 +7,225 @@ config SYS_ARCH config ARM64 bool +config HAS_VBAR + bool + +config CPU_ARM720T + bool + +config CPU_ARM920T + bool + +config CPU_ARM926EJS + bool + +config CPU_ARM946ES + bool + +config CPU_ARM1136 + bool + +config CPU_ARM1176 + bool + select HAS_VBAR + +config CPU_V7 + bool + select HAS_VBAR + +config CPU_PXA + bool + +config CPU_SA1100 + bool + +config SYS_CPU + default "arm720t" if CPU_ARM720T + default "arm920t" if CPU_ARM920T + default "arm926ejs" if CPU_ARM926EJS + default "arm946es" if CPU_ARM946ES + default "arm1136" if CPU_ARM113 + default "arm1176" if CPU_ARM1176 + default "armv7" if CPU_V7 + default "pxa" if CPU_PXA + default "sa1100" if CPU_SA1100 + choice prompt "Target select" config TARGET_INTEGRATORAP_CM720T bool "Support integratorap_cm720t" + select CPU_ARM720T config TARGET_INTEGRATORAP_CM920T bool "Support integratorap_cm920t" + select CPU_ARM920T config TARGET_INTEGRATORCP_CM920T bool "Support integratorcp_cm920t" + select CPU_ARM920T config TARGET_A320EVB bool "Support a320evb" + select CPU_ARM920T config TARGET_AT91RM9200EK bool "Support at91rm9200ek" + select CPU_ARM920T config TARGET_EB_CPUX9K2 bool "Support eb_cpux9k2" + select CPU_ARM920T config TARGET_CPUAT91 bool "Support cpuat91" + select CPU_ARM920T config TARGET_EDB93XX bool "Support edb93xx" + select CPU_ARM920T config TARGET_SCB9328 bool "Support scb9328" + select CPU_ARM920T config TARGET_CM4008 bool "Support cm4008" + select CPU_ARM920T config TARGET_CM41XX bool "Support cm41xx" + select CPU_ARM920T config TARGET_VCMA9 bool "Support VCMA9" + select CPU_ARM920T config TARGET_SMDK2410 bool "Support smdk2410" + select CPU_ARM920T config TARGET_INTEGRATORAP_CM926EJS bool "Support integratorap_cm926ejs" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM926EJS bool "Support integratorcp_cm926ejs" + select CPU_ARM926EJS config TARGET_ASPENITE bool "Support aspenite" + select CPU_ARM926EJS config TARGET_GPLUGD bool "Support gplugd" + select CPU_ARM926EJS config TARGET_AFEB9260 bool "Support afeb9260" + select CPU_ARM926EJS config TARGET_AT91SAM9260EK bool "Support at91sam9260ek" + select CPU_ARM926EJS config TARGET_AT91SAM9261EK bool "Support at91sam9261ek" + select CPU_ARM926EJS config TARGET_AT91SAM9263EK bool "Support at91sam9263ek" + select CPU_ARM926EJS config TARGET_AT91SAM9M10G45EK bool "Support at91sam9m10g45ek" + select CPU_ARM926EJS config TARGET_AT91SAM9N12EK bool "Support at91sam9n12ek" + select CPU_ARM926EJS config TARGET_AT91SAM9RLEK bool "Support at91sam9rlek" + select CPU_ARM926EJS config TARGET_AT91SAM9X5EK bool "Support at91sam9x5ek" + select CPU_ARM926EJS config TARGET_SNAPPER9260 bool "Support snapper9260" + select CPU_ARM926EJS config TARGET_VL_MA2SC bool "Support vl_ma2sc" + select CPU_ARM926EJS config TARGET_SBC35_A9G20 bool "Support sbc35_a9g20" + select CPU_ARM926EJS config TARGET_TNY_A9260 bool "Support tny_a9260" + select CPU_ARM926EJS config TARGET_USB_A9263 bool "Support usb_a9263" + select CPU_ARM926EJS config TARGET_ETHERNUT5 bool "Support ethernut5" + select CPU_ARM926EJS config TARGET_TOP9000 bool "Support top9000" + select CPU_ARM926EJS config TARGET_MEESC bool "Support meesc" + select CPU_ARM926EJS config TARGET_OTC570 bool "Support otc570" + select CPU_ARM926EJS config TARGET_CPU9260 bool "Support cpu9260" + select CPU_ARM926EJS config TARGET_PM9261 bool "Support pm9261" + select CPU_ARM926EJS config TARGET_PM9263 bool "Support pm9263" + select CPU_ARM926EJS config TARGET_PM9G45 bool "Support pm9g45" + select CPU_ARM926EJS config TARGET_CORVUS bool "Support corvus" + select CPU_ARM926EJS config TARGET_TAURUS bool "Support taurus" + select CPU_ARM926EJS config TARGET_STAMP9G20 bool "Support stamp9g20" + select CPU_ARM926EJS config ARCH_DAVINCI bool "TI DaVinci" + select CPU_ARM926EJS help Support for TI's DaVinci platform. config KIRKWOOD bool "Marvell Kirkwood" + select CPU_ARM926EJS config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp"
@@ -149,321 +235,427 @@ config TARGET_MAXBCM config TARGET_DEVKIT3250 bool "Support devkit3250" + select CPU_ARM926EJS config TARGET_JADECPU bool "Support jadecpu" + select CPU_ARM926EJS config TARGET_MX25PDK bool "Support mx25pdk" + select CPU_ARM926EJS config TARGET_TX25 bool "Support tx25" + select CPU_ARM926EJS config TARGET_ZMX25 bool "Support zmx25" + select CPU_ARM926EJS config TARGET_APF27 bool "Support apf27" + select CPU_ARM926EJS config TARGET_IMX27LITE bool "Support imx27lite" + select CPU_ARM926EJS config TARGET_MAGNESIUM bool "Support magnesium" + select CPU_ARM926EJS config TARGET_APX4DEVKIT bool "Support apx4devkit" + select CPU_ARM926EJS config TARGET_XFI3 bool "Support xfi3" + select CPU_ARM926EJS config TARGET_M28EVK bool "Support m28evk" + select CPU_ARM926EJS config TARGET_MX23EVK bool "Support mx23evk" + select CPU_ARM926EJS config TARGET_MX28EVK bool "Support mx28evk" + select CPU_ARM926EJS config TARGET_MX23_OLINUXINO bool "Support mx23_olinuxino" + select CPU_ARM926EJS config TARGET_BG0900 bool "Support bg0900" + select CPU_ARM926EJS config TARGET_SANSA_FUZE_PLUS bool "Support sansa_fuze_plus" + select CPU_ARM926EJS config TARGET_SC_SPS_1 bool "Support sc_sps_1" + select CPU_ARM926EJS config ARCH_NOMADIK bool "ST-Ericsson Nomadik" + select CPU_ARM926EJS config ORION5X bool "Marvell Orion" + select CPU_ARM926EJS config TARGET_DKB bool "Support dkb" + select CPU_ARM926EJS config TARGET_SPEAR300 bool "Support spear300" + select CPU_ARM926EJS config TARGET_SPEAR310 bool "Support spear310" + select CPU_ARM926EJS config TARGET_SPEAR320 bool "Support spear320" + select CPU_ARM926EJS config TARGET_SPEAR600 bool "Support spear600" + select CPU_ARM926EJS config TARGET_X600 bool "Support x600" + select CPU_ARM926EJS config ARCH_VERSATILE bool "ARM Ltd. Versatile family" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM1136 bool "Support integratorcp_cm1136" + select CPU_ARM1136 config TARGET_IMX31_PHYCORE bool "Support imx31_phycore" + select CPU_ARM1136 config TARGET_QONG bool "Support qong" + select CPU_ARM1136 config TARGET_MX31ADS bool "Support mx31ads" + select CPU_ARM1136 config TARGET_MX31PDK bool "Support mx31pdk" + select CPU_ARM1136 config TARGET_TT01 bool "Support tt01" + select CPU_ARM1136 config TARGET_IMX31_LITEKIT bool "Support imx31_litekit" + select CPU_ARM1136 config TARGET_WOODBURN bool "Support woodburn" + select CPU_ARM1136 config TARGET_WOODBURN_SD bool "Support woodburn_sd" + select CPU_ARM1136 config TARGET_FLEA3 bool "Support flea3" + select CPU_ARM1136 config TARGET_MX35PDK bool "Support mx35pdk" + select CPU_ARM1136 config TARGET_RPI_B bool "Support rpi_b" + select CPU_ARM1176 config TARGET_TNETV107X_EVM bool "Support tnetv107x_evm" + select CPU_ARM1176 config TARGET_INTEGRATORAP_CM946ES bool "Support integratorap_cm946es" + select CPU_ARM946ES config TARGET_INTEGRATORCP_CM946ES bool "Support integratorcp_cm946es" + select CPU_ARM946ES config TARGET_VEXPRESS_CA15_TC2 bool "Support vexpress_ca15_tc2" + select CPU_V7 config TARGET_VEXPRESS_CA5X2 bool "Support vexpress_ca5x2" + select CPU_V7 config TARGET_VEXPRESS_CA9X4 bool "Support vexpress_ca9x4" + select CPU_V7 config TARGET_KWB bool "Support kwb" + select CPU_V7 config TARGET_TSERIES bool "Support tseries" + select CPU_V7 config TARGET_CM_T335 bool "Support cm_t335" + select CPU_V7 config TARGET_PEPPER bool "Support pepper" + select CPU_V7 config TARGET_AM335X_IGEP0033 bool "Support am335x_igep0033" + select CPU_V7 config TARGET_PCM051 bool "Support pcm051" + select CPU_V7 config TARGET_DRACO bool "Support draco" + select CPU_V7 config TARGET_DXR2 bool "Support dxr2" + select CPU_V7 config TARGET_PXM2 bool "Support pxm2" + select CPU_V7 config TARGET_RUT bool "Support rut" + select CPU_V7 config TARGET_PENGWYN bool "Support pengwyn" + select CPU_V7 config TARGET_AM335X_EVM bool "Support am335x_evm" + select CPU_V7 config TARGET_AM43XX_EVM bool "Support am43xx_evm" + select CPU_V7 config TARGET_TI814X_EVM bool "Support ti814x_evm" + select CPU_V7 config TARGET_TI816X_EVM bool "Support ti816x_evm" + select CPU_V7 config TARGET_SAMA5D3_XPLAINED bool "Support sama5d3_xplained" + select CPU_V7 config TARGET_SAMA5D3XEK bool "Support sama5d3xek" + select CPU_V7 config TARGET_BCM28155_AP bool "Support bcm28155_ap" + select CPU_V7 config TARGET_BCM958300K bool "Support bcm958300k" + select CPU_V7 config TARGET_BCM958622HR bool "Support bcm958622hr" + select CPU_V7 config ARCH_EXYNOS bool "Samsung EXYNOS" + select CPU_V7 config ARCH_S5PC1XX bool "Samsung S5PC1XX" + select CPU_V7 config ARCH_HIGHBANK bool "Calxeda Highbank" + select CPU_V7 config ARCH_KEYSTONE bool "TI Keystone" + select CPU_V7 config TARGET_M53EVK bool "Support m53evk" + select CPU_V7 config TARGET_IMA3_MX53 bool "Support ima3-mx53" + select CPU_V7 config TARGET_MX51EVK bool "Support mx51evk" + select CPU_V7 config TARGET_MX53ARD bool "Support mx53ard" + select CPU_V7 config TARGET_MX53EVK bool "Support mx53evk" + select CPU_V7 config TARGET_MX53LOCO bool "Support mx53loco" + select CPU_V7 config TARGET_MX53SMD bool "Support mx53smd" + select CPU_V7 config TARGET_MX51_EFIKAMX bool "Support mx51_efikamx" + select CPU_V7 config TARGET_VISION2 bool "Support vision2" + select CPU_V7 config TARGET_UDOO bool "Support udoo" + select CPU_V7 config TARGET_WANDBOARD bool "Support wandboard" + select CPU_V7 config TARGET_TITANIUM bool "Support titanium" + select CPU_V7 config TARGET_NITROGEN6X bool "Support nitrogen6x" + select CPU_V7 config TARGET_CGTQMX6EVAL bool "Support cgtqmx6eval" + select CPU_V7 config TARGET_EMBESTMX6BOARDS bool "Support embestmx6boards" + select CPU_V7 config TARGET_ARISTAINETOS bool "Support aristainetos" + select CPU_V7 config TARGET_MX6QARM2 bool "Support mx6qarm2" + select CPU_V7 config TARGET_MX6QSABREAUTO bool "Support mx6qsabreauto" + select CPU_V7 config TARGET_MX6SABRESD bool "Support mx6sabresd" + select CPU_V7 config TARGET_MX6SLEVK bool "Support mx6slevk" + select CPU_V7 config TARGET_MX6SXSABRESD bool "Support mx6sxsabresd" + select CPU_V7 config TARGET_GW_VENTANA bool "Support gw_ventana" + select CPU_V7 config TARGET_HUMMINGBOARD bool "Support hummingboard" + select CPU_V7 config TARGET_TQMA6 bool "TQ Systems TQMa6 board" + select CPU_V7 config TARGET_OT1200 bool "Bachmann OT1200" + select CPU_V7 config OMAP34XX bool "OMAP34XX SoC" + select CPU_V7 config OMAP44XX bool "OMAP44XX SoC" + select CPU_V7 config OMAP54XX bool "OMAP54XX SoC" + select CPU_V7 config RMOBILE bool "Renesas ARM SoCs" + select CPU_V7 config TARGET_CM_FX6 bool "Support cm_fx6" + select CPU_V7 config TARGET_SOCFPGA_CYCLONE5 bool "Support socfpga_cyclone5" + select CPU_V7 config TARGET_SUN4I bool "Support sun4i" + select CPU_V7 config TARGET_SUN5I bool "Support sun5i" + select CPU_V7 config TARGET_SUN7I bool "Support sun7i" + select CPU_V7 config TARGET_SNOWBALL bool "Support snowball" + select CPU_V7 config TARGET_U8500_HREF bool "Support u8500_href" + select CPU_V7 config TARGET_VF610TWR bool "Support vf610twr" + select CPU_V7 config ZYNQ bool "Xilinx Zynq Platform" + select CPU_V7 config TEGRA bool "NVIDIA Tegra"
@@ -472,6 +664,7 @@ config TEGRA config TARGET_VEXPRESS_AEMV8A bool "Support vexpress_aemv8a" + select CPU_V7 select ARM64 config TARGET_LS2085A_EMU
@@ -484,51 +677,67 @@ config TARGET_LS2085A_SIMU config TARGET_LS1021AQDS bool "Support ls1021aqds_nor" + select CPU_V7 config TARGET_LS1021ATWR bool "Support ls1021atwr_nor" + select CPU_V7 config TARGET_BALLOON3 bool "Support balloon3" + select CPU_PXA config TARGET_H2200 bool "Support h2200" + select CPU_PXA config TARGET_PALMLD bool "Support palmld" + select CPU_PXA config TARGET_PALMTC bool "Support palmtc" + select CPU_PXA config TARGET_PALMTREO680 bool "Support palmtreo680" + select CPU_PXA config TARGET_PXA255_IDP bool "Support pxa255_idp" + select CPU_PXA config TARGET_TRIZEPSIV bool "Support trizepsiv" + select CPU_PXA config TARGET_VPAC270 bool "Support vpac270" + select CPU_PXA config TARGET_XAENIAX bool "Support xaeniax" + select CPU_PXA config TARGET_ZIPITZ2 bool "Support zipitz2" + select CPU_PXA config TARGET_LP8X4X bool "Support lp8x4x" + select CPU_PXA config TARGET_COLIBRI_PXA270 bool "Support colibri_pxa270" + select CPU_PXA config TARGET_JORNADA bool "Support jornada" + select CPU_SA1100 config ARCH_UNIPHIER bool "Panasonic UniPhier platform" + select CPU_V7 endchoice
arch/arm/cpu/arm926ejs/davinci/Kconfig +0 -3
@@ -53,9 +53,6 @@ config TARGET_CALIMAIN endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "davinci"
arch/arm/cpu/arm926ejs/kirkwood/Kconfig +0 -3
@@ -59,9 +59,6 @@ config TARGET_GOFLEXHOME endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "kirkwood"
arch/arm/cpu/arm926ejs/nomadik/Kconfig +0 -3
@@ -8,9 +8,6 @@ config NOMADIK_NHK8815 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "nomadik"
arch/arm/cpu/arm926ejs/orion5x/Kconfig +0 -3
@@ -8,9 +8,6 @@ config TARGET_EDMINIV2 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "orion5x"
arch/arm/cpu/arm926ejs/versatile/Kconfig +0 -3
@@ -1,8 +1,5 @@ if ARCH_VERSATILE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "versatile"
arch/arm/cpu/armv7/exynos/Kconfig +0 -3
@@ -44,9 +44,6 @@ config TARGET_PEACH_PIT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "exynos"
arch/arm/cpu/armv7/highbank/Kconfig +0 -3
@@ -1,8 +1,5 @@ if ARCH_HIGHBANK -config SYS_CPU - default "armv7" - config SYS_BOARD default "highbank"
arch/arm/cpu/armv7/keystone/Kconfig +0 -3
@@ -11,9 +11,6 @@ config TARGET_K2E_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "keystone"
arch/arm/cpu/armv7/omap3/Kconfig +0 -3
@@ -74,9 +74,6 @@ config TARGET_TWISTER endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap3"
arch/arm/cpu/armv7/omap4/Kconfig +0 -3
@@ -14,9 +14,6 @@ config TARGET_OMAP4_SDP4430 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap4"
arch/arm/cpu/armv7/omap5/Kconfig +0 -3
@@ -14,9 +14,6 @@ config TARGET_DRA7XX_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap5"
arch/arm/cpu/armv7/rmobile/Kconfig +0 -3
@@ -20,9 +20,6 @@ config TARGET_ALT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "rmobile"
arch/arm/cpu/armv7/s5pc1xx/Kconfig +0 -3
@@ -13,9 +13,6 @@ config TARGET_SMDKC100 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "s5pc1xx"
arch/arm/cpu/armv7/uniphier/Kconfig +0 -6
@@ -1,16 +1,10 @@ menu "Panasonic UniPhier platform" depends on ARCH_UNIPHIER -config SYS_CPU - string - default "armv7" - config SYS_SOC - string default "uniphier" config SYS_CONFIG_NAME - string default "ph1_pro4" if MACH_PH1_PRO4 default "ph1_ld4" if MACH_PH1_LD4 default "ph1_sld8" if MACH_PH1_SLD8
arch/arm/cpu/armv7/zynq/Kconfig +0 -3
@@ -17,9 +17,6 @@ config TARGET_ZYNQ_ZC770 endchoice -config SYS_CPU - default "armv7" - config SYS_BOARD default "zynq"
board/BuR/kwb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_KWB -config SYS_CPU - default "armv7" - config SYS_BOARD default "kwb"
board/BuR/tseries/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TSERIES -config SYS_CPU - default "armv7" - config SYS_BOARD default "tseries"
board/BuS/eb_cpux9k2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EB_CPUX9K2 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "eb_cpux9k2"
board/BuS/vl_ma2sc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VL_MA2SC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "vl_ma2sc"
board/CarMediaLab/flea3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_FLEA3 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "flea3"
board/Marvell/aspenite/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ASPENITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "aspenite"
board/Marvell/dkb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_DKB -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "dkb"
board/Marvell/gplugd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_GPLUGD -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "gplugd"
board/afeb9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AFEB9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "afeb9260"
board/altera/socfpga/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SOCFPGA_CYCLONE5 -config SYS_CPU - default "armv7" - config SYS_BOARD default "socfpga"
board/aristainetos/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ARISTAINETOS -config SYS_CPU - default "armv7" - config SYS_BOARD default "aristainetos"
board/armadeus/apf27/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_APF27 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apf27"
board/armltd/integrator/Kconfig +0 -24
@@ -1,8 +1,5 @@ if TARGET_INTEGRATORAP_CM720T -config SYS_CPU - default "arm720t" - config SYS_BOARD default "integrator"
@@ -16,9 +13,6 @@ endif if TARGET_INTEGRATORAP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"
@@ -32,9 +26,6 @@ endif if TARGET_INTEGRATORCP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"
@@ -48,9 +39,6 @@ endif if TARGET_INTEGRATORAP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"
@@ -64,9 +52,6 @@ endif if TARGET_INTEGRATORCP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"
@@ -80,9 +65,6 @@ endif if TARGET_INTEGRATORCP_CM1136 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "integrator"
@@ -96,9 +78,6 @@ endif if TARGET_INTEGRATORAP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"
@@ -112,9 +91,6 @@ endif if TARGET_INTEGRATORCP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"
board/armltd/vexpress/Kconfig +0 -9
@@ -1,8 +1,5 @@ if TARGET_VEXPRESS_CA15_TC2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
@@ -16,9 +13,6 @@ endif if TARGET_VEXPRESS_CA5X2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
@@ -32,9 +26,6 @@ endif if TARGET_VEXPRESS_CA9X4 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
board/atmel/at91rm9200ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91RM9200EK -config SYS_CPU - default "arm920t" - config SYS_BOARD default "at91rm9200ek"
board/atmel/at91sam9260ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9260EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9260ek"
board/atmel/at91sam9261ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9261EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9261ek"
board/atmel/at91sam9263ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9263EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9263ek"
board/atmel/at91sam9m10g45ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9M10G45EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9m10g45ek"
board/atmel/at91sam9n12ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9N12EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9n12ek"
board/atmel/at91sam9rlek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9RLEK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9rlek"
board/atmel/at91sam9x5ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9X5EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9x5ek"
board/atmel/sama5d3_xplained/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SAMA5D3_XPLAINED -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3_xplained"
board/atmel/sama5d3xek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SAMA5D3XEK -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3xek"
board/bachmann/ot1200/Kconfig +0 -8
@@ -1,23 +1,15 @@ if TARGET_OT1200 -config SYS_CPU - string - default "armv7" - config SYS_BOARD - string default "ot1200" config SYS_VENDOR - string default "bachmann" config SYS_SOC - string default "mx6" config SYS_CONFIG_NAME - string default "ot1200" endif
board/balloon3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BALLOON3 -config SYS_CPU - default "pxa" - config SYS_BOARD default "balloon3"
board/barco/titanium/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TITANIUM -config SYS_CPU - default "armv7" - config SYS_BOARD default "titanium"
board/bluegiga/apx4devkit/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_APX4DEVKIT -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apx4devkit"
board/bluewater/snapper9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SNAPPER9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "snapper9260"
board/boundary/nitrogen6x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_NITROGEN6X -config SYS_CPU - default "armv7" - config SYS_BOARD default "nitrogen6x"
board/broadcom/bcm28155_ap/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM28155_AP -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm28155_ap"
board/broadcom/bcm958300k/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM958300K -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"
board/broadcom/bcm958622hr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM958622HR -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"
board/calao/sbc35_a9g20/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SBC35_A9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sbc35_a9g20"
board/calao/tny_a9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TNY_A9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tny_a9260"
board/calao/usb_a9263/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_USB_A9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "usb_a9263"
board/cirrus/edb93xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EDB93XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "edb93xx"
board/cm4008/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM4008 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm4008"
board/cm41xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM41XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm41xx"
board/compulab/cm_fx6/Kconfig +0 -8
@@ -1,23 +1,15 @@ if TARGET_CM_FX6 -config SYS_CPU - string - default "armv7" - config SYS_BOARD - string default "cm_fx6" config SYS_VENDOR - string default "compulab" config SYS_SOC - string default "mx6" config SYS_CONFIG_NAME - string default "cm_fx6" endif
board/compulab/cm_t335/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM_T335 -config SYS_CPU - default "armv7" - config SYS_BOARD default "cm_t335"
board/congatec/cgtqmx6eval/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CGTQMX6EVAL -config SYS_CPU - default "armv7" - config SYS_BOARD default "cgtqmx6eval"
board/creative/xfi3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_XFI3 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "xfi3"
board/davedenx/qong/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_QONG -config SYS_CPU - default "arm1136" - config SYS_BOARD default "qong"
board/denx/m28evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_M28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "m28evk"
board/denx/m53evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_M53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "m53evk"
board/egnite/ethernut5/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ETHERNUT5 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "ethernut5"
board/embest/mx6boards/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EMBESTMX6BOARDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6boards"
board/emk/top9000/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TOP9000 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "top9000"
board/esd/meesc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MEESC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "meesc"
board/esd/otc570/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_OTC570 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "otc570"
board/esg/ima3-mx53/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMA3_MX53 -config SYS_CPU - default "armv7" - config SYS_BOARD default "ima3-mx53"
board/eukrea/cpu9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CPU9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "cpu9260"
board/eukrea/cpuat91/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CPUAT91 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cpuat91"
board/faraday/a320evb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_A320EVB -config SYS_CPU - default "arm920t" - config SYS_BOARD default "a320evb"
board/freescale/ls1021aqds/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LS1021AQDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021aqds"
board/freescale/ls1021atwr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LS1021ATWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021atwr"
board/freescale/mx23evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX23EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23evk"
board/freescale/mx25pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX25PDK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx25pdk"
board/freescale/mx28evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx28evk"
board/freescale/mx31ads/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX31ADS -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31ads"
board/freescale/mx31pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX31PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31pdk"
board/freescale/mx35pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX35PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx35pdk"
board/freescale/mx51evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX51EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51evk"
board/freescale/mx53ard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53ARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53ard"
board/freescale/mx53evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53evk"
board/freescale/mx53loco/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53LOCO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53loco"
board/freescale/mx53smd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53SMD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53smd"
board/freescale/mx6qarm2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6QARM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qarm2"
board/freescale/mx6qsabreauto/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6QSABREAUTO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qsabreauto"
board/freescale/mx6sabresd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sabresd"
board/freescale/mx6slevk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SLEVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6slevk"
board/freescale/mx6sxsabresd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SXSABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sxsabresd"
board/freescale/vf610twr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VF610TWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "vf610twr"
board/gateworks/gw_ventana/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_GW_VENTANA -config SYS_CPU - default "armv7" - config SYS_BOARD default "gw_ventana"
board/genesi/mx51_efikamx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX51_EFIKAMX -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51_efikamx"
board/gumstix/pepper/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PEPPER -config SYS_CPU - default "armv7" - config SYS_BOARD default "pepper"
board/h2200/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_H2200 -config SYS_CPU - default "pxa" - config SYS_BOARD default "h2200"
board/hale/tt01/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TT01 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "tt01"
board/icpdas/lp8x4x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LP8X4X -config SYS_CPU - default "pxa" - config SYS_BOARD default "lp8x4x"
board/imx31_phycore/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMX31_PHYCORE -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_phycore"
board/isee/igep0033/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM335X_IGEP0033 -config SYS_CPU - default "armv7" - config SYS_BOARD default "igep0033"
board/jornada/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_JORNADA -config SYS_CPU - default "sa1100" - config SYS_BOARD default "jornada"
board/karo/tx25/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tx25"
board/logicpd/imx27lite/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_IMX27LITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"
@@ -19,9 +16,6 @@ endif if TARGET_MAGNESIUM -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"
board/logicpd/imx31_litekit/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMX31_LITEKIT -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_litekit"
board/mpl/vcma9/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VCMA9 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "vcma9"
board/olimex/mx23_olinuxino/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX23_OLINUXINO -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23_olinuxino"
board/palmld/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMLD -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmld"
board/palmtc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMTC -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtc"
board/palmtreo680/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMTREO680 -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtreo680"
board/phytec/pcm051/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PCM051 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pcm051"
board/ppcag/bg0900/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BG0900 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "bg0900"
board/pxa255_idp/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PXA255_IDP -config SYS_CPU - default "pxa" - config SYS_BOARD default "pxa255_idp"
board/raspberrypi/rpi_b/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_RPI_B -config SYS_CPU - default "arm1176" - config SYS_BOARD default "rpi_b"
board/ronetix/pm9261/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9261 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9261"
board/ronetix/pm9263/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9263"
board/ronetix/pm9g45/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9G45 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9g45"
board/samsung/goni/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_S5P_GONI -config SYS_CPU - default "armv7" - config SYS_BOARD default "goni"
board/samsung/smdk2410/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SMDK2410 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "smdk2410"
board/samsung/smdkc100/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SMDKC100 -config SYS_CPU - default "armv7" - config SYS_BOARD default "smdkc100"
board/sandisk/sansa_fuze_plus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SANSA_FUZE_PLUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sansa_fuze_plus"
board/scb9328/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SCB9328 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "scb9328"
board/schulercontrol/sc_sps_1/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SC_SPS_1 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sc_sps_1"
board/siemens/corvus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CORVUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "corvus"
board/siemens/draco/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_DRACO -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"
@@ -19,9 +16,6 @@ endif if TARGET_DXR2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"
board/siemens/pxm2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PXM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pxm2"
board/siemens/rut/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_RUT -config SYS_CPU - default "armv7" - config SYS_BOARD default "rut"
board/siemens/taurus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TAURUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "taurus"
board/silica/pengwyn/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PENGWYN -config SYS_CPU - default "armv7" - config SYS_BOARD default "pengwyn"
board/solidrun/hummingboard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_HUMMINGBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "hummingboard"
board/spear/spear300/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR300 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear300"
board/spear/spear310/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR310 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear310"
board/spear/spear320/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR320 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear320"
board/spear/spear600/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear600"
board/spear/x600/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_X600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "x600"
board/st-ericsson/snowball/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SNOWBALL -config SYS_CPU - default "armv7" - config SYS_BOARD default "snowball"
board/st-ericsson/u8500/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_U8500_HREF -config SYS_CPU - default "armv7" - config SYS_BOARD default "u8500"
board/sunxi/Kconfig +0 -3
@@ -21,9 +21,6 @@ endif if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I -config SYS_CPU - default "armv7" - config SYS_BOARD default "sunxi"
board/syteco/jadecpu/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_JADECPU -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "jadecpu"
board/syteco/zmx25/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ZMX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "zmx25"
board/taskit/stamp9g20/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_STAMP9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "stamp9g20"
board/ti/am335x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM335X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am335x"
board/ti/am43xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM43XX_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am43xx"
board/ti/ti814x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TI814X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti814x"
board/ti/ti816x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TI816X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti816x"
board/ti/tnetv107xevm/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TNETV107X_EVM -config SYS_CPU - default "arm1176" - config SYS_BOARD default "tnetv107xevm"
board/timll/devkit3250/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_DEVKIT3250 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "devkit3250"
board/toradex/colibri_pxa270/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_COLIBRI_PXA270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "colibri_pxa270"
board/tqc/tqma6/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TQMA6 -config SYS_CPU - default "armv7" - config SYS_BOARD default "tqma6"
board/trizepsiv/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TRIZEPSIV -config SYS_CPU - default "pxa" - config SYS_BOARD default "trizepsiv"
board/ttcontrol/vision2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VISION2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vision2"
board/udoo/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_UDOO -config SYS_CPU - default "armv7" - config SYS_BOARD default "udoo"
board/vpac270/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VPAC270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "vpac270"
board/wandboard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_WANDBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "wandboard"
board/woodburn/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_WOODBURN -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"
@@ -16,9 +13,6 @@ endif if TARGET_WOODBURN_SD -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"
board/xaeniax/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_XAENIAX -config SYS_CPU - default "pxa" - config SYS_BOARD default "xaeniax"
board/zipitz2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ZIPITZ2 -config SYS_CPU - default "pxa" - config SYS_BOARD default "zipitz2"
Signature · 1 line
2.1.2
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hi Georges,
This patch is really appreciated, but I found some mistakes. Please see below:
2014-10-27 7:25 GMT+09:00 Georges Savoundararadj <[email protected]>:
arch/arm/Kconfig config SYS_ARCH · line 52
Quoted 11 lines
arch/arm/Kconfig +11
-0+config SYS_CPU + default "arm720t" if CPU_ARM720T + default "arm920t" if CPU_ARM920T + default "arm926ejs" if CPU_ARM926EJS + default "arm946es" if CPU_ARM946ES + default "arm1136" if CPU_ARM113 + default "arm1176" if CPU_ARM1176 + default "armv7" if CPU_V7 + default "pxa" if CPU_PXA + default "sa1100" if CPU_SA1100 +
[1] Typo.
s/CPU_ARM113/CPU_ARM1136/
arch/arm/Kconfig config TEGRA · line 669
Quoted 7 lines
arch/arm/Kconfig +1
-0@@ -472,6 +664,7 @@ config TEGRA config TARGET_VEXPRESS_AEMV8A bool "Support vexpress_aemv8a" + select CPU_V7 select ARM64
[2]
Your are changing this board from "armv8" to "armv7". Please remove "select CPU_V7".
[3]
I thought you were trying to add only CPU_V7 and CPU_ARM1176 but it is very nice to make extra efforts for our community. One problem is, if you add "CPU_PXA", you need to fix "common/lcd.c". Otherwise, you will get a new warning for such boards as palmld, palmtc, because CONFIG_CPU_PXA is defined and used in common/lcd.c,
#if defined(CONFIG_CPU_PXA25X) || defined(CONFIG_CPU_PXA27X) || \
defined(CONFIG_CPU_MONAHANS)
#define CONFIG_CPU_PXA <------ remove
#include <asm/byteorder.h>
#endifI think this change will *probably* produce the same output although I have not checked it closely yet.
[4]
This patch is not applicable on the current master (commit d0796defbe8eff6fc3c27c893dcbc47af59d4764) You also need to add "select CPU_V7" to the new entry "TARGET_SUN6I" in arch/arm/Kconfig.
Could you fix [1] thru [4], please?
Before sending it, please do a quick test at least; it's very easy.
1. Check out master branch 2. Run "tools/genboardscfg.py" 3. Run "mv boards.cfg boards.cfg.org" 4. Apply your patch 5. Run "tools/genboardscfg.py" again 6. Run "diff boards.cfg.org boards.cfg"
If you get code diff, something is wrong with your patch. You will easily see which board is corrupted.
Tom and Albert,
If Georges fixes those problems, is it possible to apply it shortly on the mainline?
(directly u-boot/master? or via u-boot-arm/master?)
Since this patch easily causes conflicts, it should not get stuck for a long time.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hello Masahiro,
Quoted 90 lines · Masahiro YAMADA
Hi Georges,
This patch is really appreciated, but I found some mistakes. Please see below:
2014-10-27 7:25 GMT+09:00 Georges Savoundararadj <[email protected]>:
arch/arm/Kconfig config SYS_ARCH · line 52
Quoted 11 lines
arch/arm/Kconfig +11
-0+config SYS_CPU + default "arm720t" if CPU_ARM720T + default "arm920t" if CPU_ARM920T + default "arm926ejs" if CPU_ARM926EJS + default "arm946es" if CPU_ARM946ES + default "arm1136" if CPU_ARM113 + default "arm1176" if CPU_ARM1176 + default "armv7" if CPU_V7 + default "pxa" if CPU_PXA + default "sa1100" if CPU_SA1100 +[1] Typo.
s/CPU_ARM113/CPU_ARM1136/
arch/arm/Kconfig config TEGRA · line 669
Quoted 7 lines
arch/arm/Kconfig +1
-0@@ -472,6 +664,7 @@ config TEGRA config TARGET_VEXPRESS_AEMV8A bool "Support vexpress_aemv8a" + select CPU_V7 select ARM64[2]
Your are changing this board from "armv8" to "armv7". Please remove "selectCPU_V7".[3]
I thought you were trying to add onlyCPU_V7andCPU_ARM1176but it is very nice to make extra efforts for our community. One problem is, if you add "CPU_PXA", you need to fix "common/lcd.c". Otherwise, you will get a new warning for such boards as palmld, palmtc, becauseCONFIG_CPU_PXAis defined and used incommon/lcd.c,#if defined(CONFIG_CPU_PXA25X) || defined(CONFIG_CPU_PXA27X) || \ defined(CONFIG_CPU_MONAHANS) #define CONFIG_CPU_PXA <------ remove #include <asm/byteorder.h> #endifI think this change will *probably* produce the same output although I have not checked it closely yet.
[4]
This patch is not applicable on the current master (commitd0796defbe8eff6fc3c27c893dcbc47af59d4764) You also need to add "selectCPU_V7" to the new entry "TARGET_SUN6I" inarch/arm/Kconfig.Could you fix [1] thru [4], please?
Before sending it, please do a quick test at least; it's very easy.
1. Check out master branch 2. Run "tools/genboardscfg.py" 3. Run "mv boards.cfg boards.cfg.org" 4. Apply your patch 5. Run "tools/genboardscfg.py" again 6. Run "diff boards.cfg.org boards.cfg"If you get code diff, something is wrong with your patch. You will easily see which board is corrupted.
Quoted 5 lines
Tom and Albert,
If Georges fixes those problems, is it possible to apply it shortly on the mainline?
(directly u-boot/master? or via u-boot-arm/master?)
I'm ok with this patch going in (through either tree). However:
Quoted 2 lines
Since this patch easily causes conflicts, it should not get stuck for a long time.
I'm not sure I'm getting this right. Do yo mean that once the patch is in, it should be easy to detect and iron out issues because if some boards are broken, their users will react promptly?
Quoted 2 lines
Best Regards
Masahiro Yamada
Amicalement,
Signature · 1 line
Albert.
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hi Albert,
2014-10-28 2:09 GMT+09:00 Albert ARIBAUD <[email protected]>:
Quoted 6 lines
Quoted 5 lines
Tom and Albert,
If Georges fixes those problems, is it possible to apply it shortly on the mainline?
(directly u-boot/master? or via u-boot-arm/master?)
Quoted 8 lines
I'm ok with this patch going in (through either tree). However:
Quoted 2 lines
Since this patch easily causes conflicts, it should not get stuck for a long time.
I'm not sure I'm getting this right. Do yo mean that once the patch is in, it should be easy to detect and iron out issues because if some boards are broken, their users will react promptly?
Yes.
If some conflicts happen, CONFIG_SYS_CPU will not be set correctly and those boards will fail to build.
User will notice the issue soon.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hello Masahiro,
Quoted 19 lines · Masahiro YAMADA
Hi Albert,
2014-10-28 2:09 GMT+09:00 Albert ARIBAUD <[email protected]>:
Quoted 6 lines
Quoted 5 lines
Tom and Albert,
If Georges fixes those problems, is it possible to apply it shortly on the mainline?
(directly u-boot/master? or via u-boot-arm/master?)Quoted 8 lines
I'm ok with this patch going in (through either tree). However:
Quoted 2 lines
Since this patch easily causes conflicts, it should not get stuck for a long time.
I'm not sure I'm getting this right. Do yo mean that once the patch is in, it should be easy to detect and iron out issues because if some boards are broken, their users will react promptly?
Quoted 5 lines
Yes.
If some conflicts happen,
CONFIG_SYS_CPUwill not be set correctly and those boards will fail to build.
User will notice the issue soon.
I often run 'buildman ... aarch64 arm' as a measure of the cleanliness of the ARM repo. Would just applying this patch automatically cause lots of ARM boards to fail building?
Quoted 2 lines
Best Regards
Masahiro Yamada
Amicalement,
Signature · 1 line
Albert.
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hi Albert,
2014-10-28 16:01 GMT+09:00 Albert ARIBAUD <[email protected]>:
Quoted 25 lines
Hello Masahiro,
Quoted 21 lines · Masahiro YAMADA
Hi Albert,
2014-10-28 2:09 GMT+09:00 Albert ARIBAUD <[email protected]>:
Quoted 6 lines
Quoted 5 lines
Tom and Albert,
If Georges fixes those problems, is it possible to apply it shortly on the mainline?
(directly u-boot/master? or via u-boot-arm/master?)Quoted 8 lines
I'm ok with this patch going in (through either tree). However:
Quoted 2 lines
Since this patch easily causes conflicts, it should not get stuck for a long time.
I'm not sure I'm getting this right. Do yo mean that once the patch is in, it should be easy to detect and iron out issues because if some boards are broken, their users will react promptly?
Yes.
Quoted 7 lines
Quoted 3 lines
If some conflicts happen,
CONFIG_SYS_CPUwill not be set correctly and those boards will fail to build.
User will notice the issue soon.I often run 'buildman ... aarch64 arm' as a measure of the cleanliness of the ARM repo. Would just applying this patch automatically cause lots of ARM boards to fail building?
If some conflicts happen after merging this patch and something goes wrong, I think you can _probably_ detect it by buildman, but I am not 100% sure.
How about moving forward like this?
1. Georges will update his patch.
2. I will test it asap.
(guarantee the correctness by comparing MD5SUM for all the ARM boards.)
3. Tom will immediately apply it to u-boot/master.
4. Announce every custodian should get his repo synced with the upstream.
5. We may still have some conflicts, so we will need to fix them carefully. (This fix won't be so difficult. We just have to focus on some
new boards.)
In this way, I think we have only a couple of conflicts even if we have.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
In reply to Masahiro YAMADAHi Georges,
I have another one I'd like you to fix.
[5]
Please fix Tegra too.
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -668,6 +668,8 @@ config TEGRA
bool "NVIDIA Tegra"
select SPL
select OF_CONTROL if !SPL_BUILD
+ select CPU_ARM720T if SPL_BUILD
+ select CPU_V7 if !SPL_BUILD
config TARGET_VEXPRESS_AEMV8A
bool "Support vexpress_aemv8a"
diff --git a/arch/arm/cpu/armv7/tegra-common/Kconfig
b/arch/arm/cpu/armv7/tegra-common/Kconfig
index 3ea6d76..1446452 100644
--- a/arch/arm/cpu/armv7/tegra-common/Kconfig +++ b/arch/arm/cpu/armv7/tegra-common/Kconfig @@ -20,10 +20,6 @@ endchoice
config USE_PRIVATE_LIBGCC
default y if SPL_BUILD
-config SYS_CPU
- default "arm720t" if SPL_BUILD
- default "armv7" if !SPL_BUILD
-
I more closely tested
commit 3664816ffda + your patch + fix [1] - [5].
I built all the ARM boards and compared MD5SUM to confirm the correctness.
With [1]-[5] fixed, your patch looks OK.
I am looking forward to see your updated version.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH v3 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hi Masahiro,
Le 28/10/2014 16:57, Masahiro YAMADA a ?crit :
Quoted 42 lines
Hi Georges,
I have another one I'd like you to fix.
[5]
Please fix Tegra too.--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -668,6 +668,8 @@ config TEGRA
bool "NVIDIA Tegra"
select SPL
selectOF_CONTROLif !SPL_BUILD
+ selectCPU_ARM720TifSPL_BUILD
+ selectCPU_V7if !SPL_BUILDconfig
TARGET_VEXPRESS_AEMV8A
bool "Supportvexpress_aemv8a"
diff --git a/arch/arm/cpu/armv7/tegra-common/Kconfig
b/arch/arm/cpu/armv7/tegra-common/Kconfig
index 3ea6d76..1446452 100644
--- a/arch/arm/cpu/armv7/tegra-common/Kconfig +++ b/arch/arm/cpu/armv7/tegra-common/Kconfig @@ -20,10 +20,6 @@ endchoice
configUSE_PRIVATE_LIBGCC
default y ifSPL_BUILD-config
SYS_CPU
- default "arm720t" ifSPL_BUILD
- default "armv7" if !SPL_BUILD
-I more closely tested
commit3664816ffda+ your patch + fix [1] - [5].
Quoted 9 lines
I built all the ARM boards and compared MD5SUM to confirm the correctness.
With [1]-[5] fixed, your patch looks OK.
I am looking forward to see your updated version.
Thanks for your comments.
I am working on it.
Regards,
Georges
PATCH v3 2/4 arm: make .vectors section allocatable
In reply to Georges SavoundararadjA regression was introduced in commit 41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction, _software_interrupt, _prefetch_abort, _data_abort, _not_used, _irq and _fiq.
Before commit 41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].
In commit 41623c91, a specific section is created, called .vectors, with the attribute executable only.
What have changed between commit 41623c91^ and 41623c91 is the attribute of the section which contains the exception vectors.
An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOC or "a") for the definition of the section .vectors fixed the issue.
To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
---
Changes in v3:
- None
Changes in v2:
- Reword the commit message
arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/vectors.S +1 -1
@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************
Signature · 1 line
2.1.2
PATCH v3 2/4 arm: make .vectors section allocatable
Hello Georges,
Quoted 54 lines · Georges Savoundararadj
A regression was introduced in commit
41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction,_software_interrupt,_prefetch_abort,_data_abort,_not_used,_irqand_fiq.Before commit
41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].In commit
41623c91, a specific section is created, called .vectors, with the attribute executable only.What have changed between commit 41623c91^ and
41623c91is the attribute of the section which contains the exception vectors. An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOCor "a") for the definition of the section .vectors fixed the issue.To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribeau <[email protected]>---
Changes in v3:
- NoneChanges in v2:
- Reword the commit messagearch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/lib/vectors.S +1
-1@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v3 3/4 arm: relocate the exception vectors
In reply to Georges SavoundararadjThis commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x00000000 or 0xFFFF0000.
---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.
Changes in v3:
- Use the CPU feature HAS_VBAR Kconfig symbol
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit message
arch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)
arch/arm/cpu/armv7/start.S +0 -6
@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lr
arch/arm/lib/relocate.S +30 -0
@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*
@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop + /* + * Relocate the exception vectors + */ +#ifdef CONFIG_HAS_VBAR + /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */ + ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done: #ifdef __XSCALE__
Signature · 1 line
2.1.2
PATCH v3 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
In reply to Georges SavoundararadjBefore this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used.
This commit sets the stack pointers for IRQ and FIQ modes.
---
Changes in v3:
- None
Changes in v2:
- Reword the commit message
arch/arm/lib/interrupts.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm/lib/interrupts.c +19 -0
@@ -34,6 +34,25 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT ), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (FIQ_MODE |I_BIT |F_BIT ), +"r" (FIQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (SVC_MODE |I_BIT |F_BIT ) + :"memory" ); +return arch_interrupt_init (); }
Signature · 1 line
2.1.2
PATCH v3 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
Hello Georges,
Quoted 36 lines · Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes,
IRQ_STACK_STARTandFIQ_STACK_START, were computed ininterrupt_initbut they were not used.This commit sets the stack pointers for IRQ and FIQ modes.
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>---
Changes in v3:
- NoneChanges in v2:
- Reword the commit messagearch/arm/lib/interrupts.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)arch/arm/lib/interrupts.c +8
-0@@ -34,6 +34,25 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT ), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n"
arch/arm/lib/interrupts.c int interrupt_init (void) · line 54
Quoted 10 lines
arch/arm/lib/interrupts.c +10
-0+ "mov sp, %1\n" + : + : "r" (FIQ_MODE | I_BIT | F_BIT), + "r" (FIQ_STACK_START) + : "memory"); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (SVC_MODE |I_BIT |F_BIT ) + :"memory" );
This sequence is trashing bits in CPSR which are unrelated to its goal, including reserved bits which, as per ARM documentation, are to be preserved. The sequence should initial CPSR and only change the mode, I and F bits.
Quoted 5 lines
arch/arm/lib/interrupts.c +0
-0return arch_interrupt_init (); }Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v3 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
Quoted 2 lines · Albert ARIBAUD
be preserved. The sequence should initial CPSR and only change the mode, I and F bits.
(grmbl) "... should *read the* initial CPSR and..."
Apologies.
Amicalement,
Signature · 1 line
Albert.
v4 cover arm: fix exception handling
In reply to Georges SavoundararadjHi,
This series fixes the exception handling on ARM.
First of all, it makes the symbols of the exception vectors relocatable. Then, it ensures that the exception vectors are relocated. To do so, we copy or move the exception vectors depending on the CPU features.
In order to handle gracefully CPU features, this commit introduces Kconfig symbols for each ARM processor and it selects through Kconfig the feature HAS_VBAR for the right CPUs.
I have taken into account all Masahiro's remarks and I checked this patch with tools/genboardscfg.py.
Also, this series configures correctly the IRQ and the FIQ stack pointers.
Regards,
Georges
Changes in v4:
- Take into account all Masahiro's remarks for the Kconfig patch
- Restore initial CPSR value after configuring SP in IRQ and FIQ modes
- Rebase to master
Changes in v3:
- Use the CPU feature HAS_VBAR Kconfig symbol
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messages
Georges Savoundararadj (4):
kconfig: arm: introduce symbol for ARM CPUs
arm: make .vectors section allocatable
arm: relocate the exception vectors
arm: interrupt_init: set sp in IRQ/FIQ modes
arch/arm/Kconfig | 212 +++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 3 - arch/arm/cpu/arm926ejs/kirkwood/Kconfig | 3 - arch/arm/cpu/arm926ejs/nomadik/Kconfig | 3 - arch/arm/cpu/arm926ejs/orion5x/Kconfig | 3 - arch/arm/cpu/arm926ejs/versatile/Kconfig | 3 - arch/arm/cpu/armv7/exynos/Kconfig | 3 - arch/arm/cpu/armv7/highbank/Kconfig | 3 - arch/arm/cpu/armv7/keystone/Kconfig | 3 - arch/arm/cpu/armv7/omap3/Kconfig | 3 - arch/arm/cpu/armv7/omap4/Kconfig | 3 - arch/arm/cpu/armv7/omap5/Kconfig | 3 - arch/arm/cpu/armv7/rmobile/Kconfig | 3 - arch/arm/cpu/armv7/s5pc1xx/Kconfig | 3 - arch/arm/cpu/armv7/start.S | 6 - arch/arm/cpu/armv7/uniphier/Kconfig | 6 - arch/arm/cpu/armv7/zynq/Kconfig | 3 - arch/arm/lib/interrupts.c | 27 ++++ arch/arm/lib/relocate.S | 30 +++++ arch/arm/lib/vectors.S | 2 +- board/BuR/kwb/Kconfig | 3 - board/BuR/tseries/Kconfig | 3 - board/BuS/eb_cpux9k2/Kconfig | 3 - board/BuS/vl_ma2sc/Kconfig | 3 - board/CarMediaLab/flea3/Kconfig | 3 - board/Marvell/aspenite/Kconfig | 3 - board/Marvell/dkb/Kconfig | 3 - board/Marvell/gplugd/Kconfig | 3 - board/afeb9260/Kconfig | 3 - board/altera/socfpga/Kconfig | 3 - board/aristainetos/Kconfig | 3 - board/armadeus/apf27/Kconfig | 3 - board/armltd/integrator/Kconfig | 24 ---- board/armltd/vexpress/Kconfig | 9 -- board/atmel/at91rm9200ek/Kconfig | 3 - board/atmel/at91sam9260ek/Kconfig | 3 - board/atmel/at91sam9261ek/Kconfig | 3 - board/atmel/at91sam9263ek/Kconfig | 3 - board/atmel/at91sam9m10g45ek/Kconfig | 3 - board/atmel/at91sam9n12ek/Kconfig | 3 - board/atmel/at91sam9rlek/Kconfig | 3 - board/atmel/at91sam9x5ek/Kconfig | 3 - board/atmel/sama5d3_xplained/Kconfig | 3 - board/atmel/sama5d3xek/Kconfig | 3 - board/bachmann/ot1200/Kconfig | 3 - board/balloon3/Kconfig | 3 - board/barco/titanium/Kconfig | 3 - board/bluegiga/apx4devkit/Kconfig | 3 - board/bluewater/snapper9260/Kconfig | 3 - board/boundary/nitrogen6x/Kconfig | 3 - board/broadcom/bcm28155_ap/Kconfig | 3 - board/broadcom/bcm958300k/Kconfig | 3 - board/broadcom/bcm958622hr/Kconfig | 3 - board/calao/sbc35_a9g20/Kconfig | 3 - board/calao/tny_a9260/Kconfig | 3 - board/calao/usb_a9263/Kconfig | 3 - board/cirrus/edb93xx/Kconfig | 3 - board/cm4008/Kconfig | 3 - board/cm41xx/Kconfig | 3 - board/compulab/cm_fx6/Kconfig | 8 -- board/compulab/cm_t335/Kconfig | 3 - board/congatec/cgtqmx6eval/Kconfig | 3 - board/creative/xfi3/Kconfig | 3 - board/davedenx/qong/Kconfig | 3 - board/denx/m28evk/Kconfig | 3 - board/denx/m53evk/Kconfig | 3 - board/egnite/ethernut5/Kconfig | 3 - board/embest/mx6boards/Kconfig | 3 - board/emk/top9000/Kconfig | 3 - board/esd/meesc/Kconfig | 3 - board/esd/otc570/Kconfig | 3 - board/esg/ima3-mx53/Kconfig | 3 - board/eukrea/cpu9260/Kconfig | 3 - board/eukrea/cpuat91/Kconfig | 3 - board/faraday/a320evb/Kconfig | 3 - board/freescale/ls1021aqds/Kconfig | 3 - board/freescale/ls1021atwr/Kconfig | 3 - board/freescale/mx23evk/Kconfig | 3 - board/freescale/mx25pdk/Kconfig | 3 - board/freescale/mx28evk/Kconfig | 3 - board/freescale/mx31ads/Kconfig | 3 - board/freescale/mx31pdk/Kconfig | 3 - board/freescale/mx35pdk/Kconfig | 3 - board/freescale/mx51evk/Kconfig | 3 - board/freescale/mx53ard/Kconfig | 3 - board/freescale/mx53evk/Kconfig | 3 - board/freescale/mx53loco/Kconfig | 3 - board/freescale/mx53smd/Kconfig | 3 - board/freescale/mx6qarm2/Kconfig | 3 - board/freescale/mx6qsabreauto/Kconfig | 3 - board/freescale/mx6sabresd/Kconfig | 3 - board/freescale/mx6slevk/Kconfig | 3 - board/freescale/mx6sxsabresd/Kconfig | 3 - board/freescale/vf610twr/Kconfig | 3 - board/gateworks/gw_ventana/Kconfig | 3 - board/genesi/mx51_efikamx/Kconfig | 3 - board/gumstix/pepper/Kconfig | 3 - board/h2200/Kconfig | 3 - board/hale/tt01/Kconfig | 3 - board/icpdas/lp8x4x/Kconfig | 3 - board/imx31_phycore/Kconfig | 3 - board/isee/igep0033/Kconfig | 3 - board/jornada/Kconfig | 3 - board/karo/tx25/Kconfig | 3 - board/logicpd/imx27lite/Kconfig | 6 - board/logicpd/imx31_litekit/Kconfig | 3 - board/mpl/vcma9/Kconfig | 3 - board/olimex/mx23_olinuxino/Kconfig | 3 - board/palmld/Kconfig | 3 - board/palmtc/Kconfig | 3 - board/palmtreo680/Kconfig | 3 - board/phytec/pcm051/Kconfig | 3 - board/ppcag/bg0900/Kconfig | 3 - board/pxa255_idp/Kconfig | 3 - board/raspberrypi/rpi_b/Kconfig | 3 - board/ronetix/pm9261/Kconfig | 3 - board/ronetix/pm9263/Kconfig | 3 - board/ronetix/pm9g45/Kconfig | 3 - board/samsung/goni/Kconfig | 3 - board/samsung/smdk2410/Kconfig | 3 - board/samsung/smdkc100/Kconfig | 3 - board/sandisk/sansa_fuze_plus/Kconfig | 3 - board/scb9328/Kconfig | 3 - board/schulercontrol/sc_sps_1/Kconfig | 3 - board/siemens/corvus/Kconfig | 3 - board/siemens/draco/Kconfig | 6 - board/siemens/pxm2/Kconfig | 3 - board/siemens/rut/Kconfig | 3 - board/siemens/taurus/Kconfig | 3 - board/silica/pengwyn/Kconfig | 3 - board/solidrun/hummingboard/Kconfig | 3 - board/spear/spear300/Kconfig | 3 - board/spear/spear310/Kconfig | 3 - board/spear/spear320/Kconfig | 3 - board/spear/spear600/Kconfig | 3 - board/spear/x600/Kconfig | 3 - board/st-ericsson/snowball/Kconfig | 3 - board/st-ericsson/u8500/Kconfig | 3 - board/sunxi/Kconfig | 3 - board/syteco/jadecpu/Kconfig | 3 - board/syteco/zmx25/Kconfig | 3 - board/taskit/stamp9g20/Kconfig | 3 - board/ti/am335x/Kconfig | 3 - board/ti/am43xx/Kconfig | 3 - board/ti/ti814x/Kconfig | 3 - board/ti/ti816x/Kconfig | 3 - board/ti/tnetv107xevm/Kconfig | 3 - board/timll/devkit3250/Kconfig | 3 - board/toradex/colibri_pxa270/Kconfig | 3 - board/tqc/tqma6/Kconfig | 3 - board/trizepsiv/Kconfig | 3 - board/ttcontrol/vision2/Kconfig | 3 - board/udoo/Kconfig | 3 - board/vpac270/Kconfig | 3 - board/wandboard/Kconfig | 3 - board/woodburn/Kconfig | 6 - board/xaeniax/Kconfig | 3 - board/zipitz2/Kconfig | 3 - common/lcd.c | 1 - 159 files changed, 270 insertions(+), 511 deletions(-)
Signature · 1 line
2.1.2
PATCH v4 1/4 kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136, CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
---
This patch needs a little review as it impacts many files.
Changes in v4:
- s/ARM113/ARM1136
- Remove bad CPU select on TARGET_VEXPRESS_AEMV8A
- As it introduces CONFIG_CPU_PXA, remove the define in common/lcd.c
- Rebase to master
- Add "select CPU_V7" to TARGET_SUN6I
- Add "select CPU_ARM720T/CPU_V7" depending on SPL_BUILD for TEGRA
Changes in v3:
- Add this commit
Changes in v2: None
arch/arm/Kconfig | 212 +++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 3 - arch/arm/cpu/arm926ejs/kirkwood/Kconfig | 3 - arch/arm/cpu/arm926ejs/nomadik/Kconfig | 3 - arch/arm/cpu/arm926ejs/orion5x/Kconfig | 3 - arch/arm/cpu/arm926ejs/versatile/Kconfig | 3 - arch/arm/cpu/armv7/exynos/Kconfig | 3 - arch/arm/cpu/armv7/highbank/Kconfig | 3 - arch/arm/cpu/armv7/keystone/Kconfig | 3 - arch/arm/cpu/armv7/omap3/Kconfig | 3 - arch/arm/cpu/armv7/omap4/Kconfig | 3 - arch/arm/cpu/armv7/omap5/Kconfig | 3 - arch/arm/cpu/armv7/rmobile/Kconfig | 3 - arch/arm/cpu/armv7/s5pc1xx/Kconfig | 3 - arch/arm/cpu/armv7/uniphier/Kconfig | 6 - arch/arm/cpu/armv7/zynq/Kconfig | 3 - board/BuR/kwb/Kconfig | 3 - board/BuR/tseries/Kconfig | 3 - board/BuS/eb_cpux9k2/Kconfig | 3 - board/BuS/vl_ma2sc/Kconfig | 3 - board/CarMediaLab/flea3/Kconfig | 3 - board/Marvell/aspenite/Kconfig | 3 - board/Marvell/dkb/Kconfig | 3 - board/Marvell/gplugd/Kconfig | 3 - board/afeb9260/Kconfig | 3 - board/altera/socfpga/Kconfig | 3 - board/aristainetos/Kconfig | 3 - board/armadeus/apf27/Kconfig | 3 - board/armltd/integrator/Kconfig | 24 ---- board/armltd/vexpress/Kconfig | 9 -- board/atmel/at91rm9200ek/Kconfig | 3 - board/atmel/at91sam9260ek/Kconfig | 3 - board/atmel/at91sam9261ek/Kconfig | 3 - board/atmel/at91sam9263ek/Kconfig | 3 - board/atmel/at91sam9m10g45ek/Kconfig | 3 - board/atmel/at91sam9n12ek/Kconfig | 3 - board/atmel/at91sam9rlek/Kconfig | 3 - board/atmel/at91sam9x5ek/Kconfig | 3 - board/atmel/sama5d3_xplained/Kconfig | 3 - board/atmel/sama5d3xek/Kconfig | 3 - board/bachmann/ot1200/Kconfig | 3 - board/balloon3/Kconfig | 3 - board/barco/titanium/Kconfig | 3 - board/bluegiga/apx4devkit/Kconfig | 3 - board/bluewater/snapper9260/Kconfig | 3 - board/boundary/nitrogen6x/Kconfig | 3 - board/broadcom/bcm28155_ap/Kconfig | 3 - board/broadcom/bcm958300k/Kconfig | 3 - board/broadcom/bcm958622hr/Kconfig | 3 - board/calao/sbc35_a9g20/Kconfig | 3 - board/calao/tny_a9260/Kconfig | 3 - board/calao/usb_a9263/Kconfig | 3 - board/cirrus/edb93xx/Kconfig | 3 - board/cm4008/Kconfig | 3 - board/cm41xx/Kconfig | 3 - board/compulab/cm_fx6/Kconfig | 8 -- board/compulab/cm_t335/Kconfig | 3 - board/congatec/cgtqmx6eval/Kconfig | 3 - board/creative/xfi3/Kconfig | 3 - board/davedenx/qong/Kconfig | 3 - board/denx/m28evk/Kconfig | 3 - board/denx/m53evk/Kconfig | 3 - board/egnite/ethernut5/Kconfig | 3 - board/embest/mx6boards/Kconfig | 3 - board/emk/top9000/Kconfig | 3 - board/esd/meesc/Kconfig | 3 - board/esd/otc570/Kconfig | 3 - board/esg/ima3-mx53/Kconfig | 3 - board/eukrea/cpu9260/Kconfig | 3 - board/eukrea/cpuat91/Kconfig | 3 - board/faraday/a320evb/Kconfig | 3 - board/freescale/ls1021aqds/Kconfig | 3 - board/freescale/ls1021atwr/Kconfig | 3 - board/freescale/mx23evk/Kconfig | 3 - board/freescale/mx25pdk/Kconfig | 3 - board/freescale/mx28evk/Kconfig | 3 - board/freescale/mx31ads/Kconfig | 3 - board/freescale/mx31pdk/Kconfig | 3 - board/freescale/mx35pdk/Kconfig | 3 - board/freescale/mx51evk/Kconfig | 3 - board/freescale/mx53ard/Kconfig | 3 - board/freescale/mx53evk/Kconfig | 3 - board/freescale/mx53loco/Kconfig | 3 - board/freescale/mx53smd/Kconfig | 3 - board/freescale/mx6qarm2/Kconfig | 3 - board/freescale/mx6qsabreauto/Kconfig | 3 - board/freescale/mx6sabresd/Kconfig | 3 - board/freescale/mx6slevk/Kconfig | 3 - board/freescale/mx6sxsabresd/Kconfig | 3 - board/freescale/vf610twr/Kconfig | 3 - board/gateworks/gw_ventana/Kconfig | 3 - board/genesi/mx51_efikamx/Kconfig | 3 - board/gumstix/pepper/Kconfig | 3 - board/h2200/Kconfig | 3 - board/hale/tt01/Kconfig | 3 - board/icpdas/lp8x4x/Kconfig | 3 - board/imx31_phycore/Kconfig | 3 - board/isee/igep0033/Kconfig | 3 - board/jornada/Kconfig | 3 - board/karo/tx25/Kconfig | 3 - board/logicpd/imx27lite/Kconfig | 6 - board/logicpd/imx31_litekit/Kconfig | 3 - board/mpl/vcma9/Kconfig | 3 - board/olimex/mx23_olinuxino/Kconfig | 3 - board/palmld/Kconfig | 3 - board/palmtc/Kconfig | 3 - board/palmtreo680/Kconfig | 3 - board/phytec/pcm051/Kconfig | 3 - board/ppcag/bg0900/Kconfig | 3 - board/pxa255_idp/Kconfig | 3 - board/raspberrypi/rpi_b/Kconfig | 3 - board/ronetix/pm9261/Kconfig | 3 - board/ronetix/pm9263/Kconfig | 3 - board/ronetix/pm9g45/Kconfig | 3 - board/samsung/goni/Kconfig | 3 - board/samsung/smdk2410/Kconfig | 3 - board/samsung/smdkc100/Kconfig | 3 - board/sandisk/sansa_fuze_plus/Kconfig | 3 - board/scb9328/Kconfig | 3 - board/schulercontrol/sc_sps_1/Kconfig | 3 - board/siemens/corvus/Kconfig | 3 - board/siemens/draco/Kconfig | 6 - board/siemens/pxm2/Kconfig | 3 - board/siemens/rut/Kconfig | 3 - board/siemens/taurus/Kconfig | 3 - board/silica/pengwyn/Kconfig | 3 - board/solidrun/hummingboard/Kconfig | 3 - board/spear/spear300/Kconfig | 3 - board/spear/spear310/Kconfig | 3 - board/spear/spear320/Kconfig | 3 - board/spear/spear600/Kconfig | 3 - board/spear/x600/Kconfig | 3 - board/st-ericsson/snowball/Kconfig | 3 - board/st-ericsson/u8500/Kconfig | 3 - board/sunxi/Kconfig | 3 - board/syteco/jadecpu/Kconfig | 3 - board/syteco/zmx25/Kconfig | 3 - board/taskit/stamp9g20/Kconfig | 3 - board/ti/am335x/Kconfig | 3 - board/ti/am43xx/Kconfig | 3 - board/ti/ti814x/Kconfig | 3 - board/ti/ti816x/Kconfig | 3 - board/ti/tnetv107xevm/Kconfig | 3 - board/timll/devkit3250/Kconfig | 3 - board/toradex/colibri_pxa270/Kconfig | 3 - board/tqc/tqma6/Kconfig | 3 - board/trizepsiv/Kconfig | 3 - board/ttcontrol/vision2/Kconfig | 3 - board/udoo/Kconfig | 3 - board/vpac270/Kconfig | 3 - board/wandboard/Kconfig | 3 - board/woodburn/Kconfig | 6 - board/xaeniax/Kconfig | 3 - board/zipitz2/Kconfig | 3 - common/lcd.c | 1 - 155 files changed, 212 insertions(+), 504 deletions(-)
arch/arm/Kconfig +212 -0
@@ -7,139 +7,225 @@ config SYS_ARCH config ARM64 bool +config HAS_VBAR + bool + +config CPU_ARM720T + bool + +config CPU_ARM920T + bool + +config CPU_ARM926EJS + bool + +config CPU_ARM946ES + bool + +config CPU_ARM1136 + bool + +config CPU_ARM1176 + bool + select HAS_VBAR + +config CPU_V7 + bool + select HAS_VBAR + +config CPU_PXA + bool + +config CPU_SA1100 + bool + +config SYS_CPU + default "arm720t" if CPU_ARM720T + default "arm920t" if CPU_ARM920T + default "arm926ejs" if CPU_ARM926EJS + default "arm946es" if CPU_ARM946ES + default "arm1136" if CPU_ARM1136 + default "arm1176" if CPU_ARM1176 + default "armv7" if CPU_V7 + default "pxa" if CPU_PXA + default "sa1100" if CPU_SA1100 + choice prompt "Target select" config TARGET_INTEGRATORAP_CM720T bool "Support integratorap_cm720t" + select CPU_ARM720T config TARGET_INTEGRATORAP_CM920T bool "Support integratorap_cm920t" + select CPU_ARM920T config TARGET_INTEGRATORCP_CM920T bool "Support integratorcp_cm920t" + select CPU_ARM920T config TARGET_A320EVB bool "Support a320evb" + select CPU_ARM920T config TARGET_AT91RM9200EK bool "Support at91rm9200ek" + select CPU_ARM920T config TARGET_EB_CPUX9K2 bool "Support eb_cpux9k2" + select CPU_ARM920T config TARGET_CPUAT91 bool "Support cpuat91" + select CPU_ARM920T config TARGET_EDB93XX bool "Support edb93xx" + select CPU_ARM920T config TARGET_SCB9328 bool "Support scb9328" + select CPU_ARM920T config TARGET_CM4008 bool "Support cm4008" + select CPU_ARM920T config TARGET_CM41XX bool "Support cm41xx" + select CPU_ARM920T config TARGET_VCMA9 bool "Support VCMA9" + select CPU_ARM920T config TARGET_SMDK2410 bool "Support smdk2410" + select CPU_ARM920T config TARGET_INTEGRATORAP_CM926EJS bool "Support integratorap_cm926ejs" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM926EJS bool "Support integratorcp_cm926ejs" + select CPU_ARM926EJS config TARGET_ASPENITE bool "Support aspenite" + select CPU_ARM926EJS config TARGET_GPLUGD bool "Support gplugd" + select CPU_ARM926EJS config TARGET_AFEB9260 bool "Support afeb9260" + select CPU_ARM926EJS config TARGET_AT91SAM9260EK bool "Support at91sam9260ek" + select CPU_ARM926EJS config TARGET_AT91SAM9261EK bool "Support at91sam9261ek" + select CPU_ARM926EJS config TARGET_AT91SAM9263EK bool "Support at91sam9263ek" + select CPU_ARM926EJS config TARGET_AT91SAM9M10G45EK bool "Support at91sam9m10g45ek" + select CPU_ARM926EJS config TARGET_AT91SAM9N12EK bool "Support at91sam9n12ek" + select CPU_ARM926EJS config TARGET_AT91SAM9RLEK bool "Support at91sam9rlek" + select CPU_ARM926EJS config TARGET_AT91SAM9X5EK bool "Support at91sam9x5ek" + select CPU_ARM926EJS config TARGET_SNAPPER9260 bool "Support snapper9260" + select CPU_ARM926EJS config TARGET_VL_MA2SC bool "Support vl_ma2sc" + select CPU_ARM926EJS config TARGET_SBC35_A9G20 bool "Support sbc35_a9g20" + select CPU_ARM926EJS config TARGET_TNY_A9260 bool "Support tny_a9260" + select CPU_ARM926EJS config TARGET_USB_A9263 bool "Support usb_a9263" + select CPU_ARM926EJS config TARGET_ETHERNUT5 bool "Support ethernut5" + select CPU_ARM926EJS config TARGET_TOP9000 bool "Support top9000" + select CPU_ARM926EJS config TARGET_MEESC bool "Support meesc" + select CPU_ARM926EJS config TARGET_OTC570 bool "Support otc570" + select CPU_ARM926EJS config TARGET_CPU9260 bool "Support cpu9260" + select CPU_ARM926EJS config TARGET_PM9261 bool "Support pm9261" + select CPU_ARM926EJS config TARGET_PM9263 bool "Support pm9263" + select CPU_ARM926EJS config TARGET_PM9G45 bool "Support pm9g45" + select CPU_ARM926EJS config TARGET_CORVUS bool "Support corvus" + select CPU_ARM926EJS config TARGET_TAURUS bool "Support taurus" + select CPU_ARM926EJS config TARGET_STAMP9G20 bool "Support stamp9g20" + select CPU_ARM926EJS config ARCH_DAVINCI bool "TI DaVinci" + select CPU_ARM926EJS help Support for TI's DaVinci platform. config KIRKWOOD bool "Marvell Kirkwood" + select CPU_ARM926EJS config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp"
@@ -149,370 +235,478 @@ config TARGET_MAXBCM config TARGET_DEVKIT3250 bool "Support devkit3250" + select CPU_ARM926EJS config TARGET_JADECPU bool "Support jadecpu" + select CPU_ARM926EJS config TARGET_MX25PDK bool "Support mx25pdk" + select CPU_ARM926EJS config TARGET_TX25 bool "Support tx25" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_ZMX25 bool "Support zmx25" + select CPU_ARM926EJS config TARGET_APF27 bool "Support apf27" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_IMX27LITE bool "Support imx27lite" + select CPU_ARM926EJS config TARGET_MAGNESIUM bool "Support magnesium" + select CPU_ARM926EJS config TARGET_APX4DEVKIT bool "Support apx4devkit" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_XFI3 bool "Support xfi3" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_M28EVK bool "Support m28evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX23EVK bool "Support mx23evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX28EVK bool "Support mx28evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX23_OLINUXINO bool "Support mx23_olinuxino" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_BG0900 bool "Support bg0900" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_SANSA_FUZE_PLUS bool "Support sansa_fuze_plus" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_SC_SPS_1 bool "Support sc_sps_1" + select CPU_ARM926EJS select SUPPORT_SPL config ARCH_NOMADIK bool "ST-Ericsson Nomadik" + select CPU_ARM926EJS config ORION5X bool "Marvell Orion" + select CPU_ARM926EJS config TARGET_DKB bool "Support dkb" + select CPU_ARM926EJS config TARGET_SPEAR300 bool "Support spear300" + select CPU_ARM926EJS config TARGET_SPEAR310 bool "Support spear310" + select CPU_ARM926EJS config TARGET_SPEAR320 bool "Support spear320" + select CPU_ARM926EJS config TARGET_SPEAR600 bool "Support spear600" + select CPU_ARM926EJS config TARGET_X600 bool "Support x600" + select CPU_ARM926EJS select SUPPORT_SPL config ARCH_VERSATILE bool "ARM Ltd. Versatile family" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM1136 bool "Support integratorcp_cm1136" + select CPU_ARM1136 config TARGET_IMX31_PHYCORE bool "Support imx31_phycore" + select CPU_ARM1136 config TARGET_QONG bool "Support qong" + select CPU_ARM1136 config TARGET_MX31ADS bool "Support mx31ads" + select CPU_ARM1136 config TARGET_MX31PDK bool "Support mx31pdk" + select CPU_ARM1136 select SUPPORT_SPL config TARGET_TT01 bool "Support tt01" + select CPU_ARM1136 config TARGET_IMX31_LITEKIT bool "Support imx31_litekit" + select CPU_ARM1136 config TARGET_WOODBURN bool "Support woodburn" + select CPU_ARM1136 config TARGET_WOODBURN_SD bool "Support woodburn_sd" + select CPU_ARM1136 select SUPPORT_SPL config TARGET_FLEA3 bool "Support flea3" + select CPU_ARM1136 config TARGET_MX35PDK bool "Support mx35pdk" + select CPU_ARM1136 config TARGET_RPI_B bool "Support rpi_b" + select CPU_ARM1176 config TARGET_TNETV107X_EVM bool "Support tnetv107x_evm" + select CPU_ARM1176 config TARGET_INTEGRATORAP_CM946ES bool "Support integratorap_cm946es" + select CPU_ARM946ES config TARGET_INTEGRATORCP_CM946ES bool "Support integratorcp_cm946es" + select CPU_ARM946ES config TARGET_VEXPRESS_CA15_TC2 bool "Support vexpress_ca15_tc2" + select CPU_V7 config TARGET_VEXPRESS_CA5X2 bool "Support vexpress_ca5x2" + select CPU_V7 config TARGET_VEXPRESS_CA9X4 bool "Support vexpress_ca9x4" + select CPU_V7 config TARGET_KWB bool "Support kwb" + select CPU_V7 select SUPPORT_SPL config TARGET_TSERIES bool "Support tseries" + select CPU_V7 select SUPPORT_SPL config TARGET_CM_T335 bool "Support cm_t335" + select CPU_V7 select SUPPORT_SPL config TARGET_PEPPER bool "Support pepper" + select CPU_V7 select SUPPORT_SPL config TARGET_AM335X_IGEP0033 bool "Support am335x_igep0033" + select CPU_V7 select SUPPORT_SPL config TARGET_PCM051 bool "Support pcm051" + select CPU_V7 select SUPPORT_SPL config TARGET_DRACO bool "Support draco" + select CPU_V7 select SUPPORT_SPL config TARGET_DXR2 bool "Support dxr2" + select CPU_V7 select SUPPORT_SPL config TARGET_PXM2 bool "Support pxm2" + select CPU_V7 select SUPPORT_SPL config TARGET_RUT bool "Support rut" + select CPU_V7 select SUPPORT_SPL config TARGET_PENGWYN bool "Support pengwyn" + select CPU_V7 select SUPPORT_SPL config TARGET_AM335X_EVM bool "Support am335x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_AM43XX_EVM bool "Support am43xx_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_TI814X_EVM bool "Support ti814x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_TI816X_EVM bool "Support ti816x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_SAMA5D3_XPLAINED bool "Support sama5d3_xplained" + select CPU_V7 select SUPPORT_SPL config TARGET_SAMA5D3XEK bool "Support sama5d3xek" + select CPU_V7 select SUPPORT_SPL config TARGET_BCM28155_AP bool "Support bcm28155_ap" + select CPU_V7 config TARGET_BCM958300K bool "Support bcm958300k" + select CPU_V7 config TARGET_BCM958622HR bool "Support bcm958622hr" + select CPU_V7 config ARCH_EXYNOS bool "Samsung EXYNOS" + select CPU_V7 config ARCH_S5PC1XX bool "Samsung S5PC1XX" + select CPU_V7 config ARCH_HIGHBANK bool "Calxeda Highbank" + select CPU_V7 config ARCH_KEYSTONE bool "TI Keystone" + select CPU_V7 select SUPPORT_SPL config TARGET_M53EVK bool "Support m53evk" + select CPU_V7 select SUPPORT_SPL config TARGET_IMA3_MX53 bool "Support ima3-mx53" + select CPU_V7 config TARGET_MX51EVK bool "Support mx51evk" + select CPU_V7 config TARGET_MX53ARD bool "Support mx53ard" + select CPU_V7 config TARGET_MX53EVK bool "Support mx53evk" + select CPU_V7 config TARGET_MX53LOCO bool "Support mx53loco" + select CPU_V7 config TARGET_MX53SMD bool "Support mx53smd" + select CPU_V7 config TARGET_MX51_EFIKAMX bool "Support mx51_efikamx" + select CPU_V7 config TARGET_VISION2 bool "Support vision2" + select CPU_V7 config TARGET_UDOO bool "Support udoo" + select CPU_V7 config TARGET_WANDBOARD bool "Support wandboard" + select CPU_V7 config TARGET_TITANIUM bool "Support titanium" + select CPU_V7 config TARGET_NITROGEN6X bool "Support nitrogen6x" + select CPU_V7 config TARGET_CGTQMX6EVAL bool "Support cgtqmx6eval" + select CPU_V7 config TARGET_EMBESTMX6BOARDS bool "Support embestmx6boards" + select CPU_V7 config TARGET_ARISTAINETOS bool "Support aristainetos" + select CPU_V7 config TARGET_MX6QARM2 bool "Support mx6qarm2" + select CPU_V7 config TARGET_MX6QSABREAUTO bool "Support mx6qsabreauto" + select CPU_V7 config TARGET_MX6SABRESD bool "Support mx6sabresd" + select CPU_V7 config TARGET_MX6SLEVK bool "Support mx6slevk" + select CPU_V7 config TARGET_MX6SXSABRESD bool "Support mx6sxsabresd" + select CPU_V7 config TARGET_GW_VENTANA bool "Support gw_ventana" + select CPU_V7 select SUPPORT_SPL config TARGET_HUMMINGBOARD bool "Support hummingboard" + select CPU_V7 config TARGET_TQMA6 bool "TQ Systems TQMa6 board" + select CPU_V7 config TARGET_OT1200 bool "Bachmann OT1200" + select CPU_V7 config OMAP34XX bool "OMAP34XX SoC" + select CPU_V7 config OMAP44XX bool "OMAP44XX SoC" + select CPU_V7 select SUPPORT_SPL config OMAP54XX bool "OMAP54XX SoC" + select CPU_V7 select SUPPORT_SPL config RMOBILE bool "Renesas ARM SoCs" + select CPU_V7 config TARGET_CM_FX6 bool "Support cm_fx6" + select CPU_V7 select SUPPORT_SPL config TARGET_SOCFPGA_CYCLONE5 bool "Support socfpga_cyclone5" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN4I bool "Support sun4i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN5I bool "Support sun5i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN6I bool "Support sun6i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN7I bool "Support sun7i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN8I bool "Support sun8i" + select CPU_V7 select SUPPORT_SPL config TARGET_SNOWBALL bool "Support snowball" + select CPU_V7 config TARGET_U8500_HREF bool "Support u8500_href" + select CPU_V7 config TARGET_VF610TWR bool "Support vf610twr" + select CPU_V7 config ZYNQ bool "Xilinx Zynq Platform" + select CPU_V7 select SUPPORT_SPL config TEGRA
@@ -520,6 +714,8 @@ config TEGRA select SUPPORT_SPL select SPL select OF_CONTROL if !SPL_BUILD + select CPU_ARM720T if SPL_BUILD + select CPU_V7 if !SPL_BUILD config TARGET_VEXPRESS_AEMV8A bool "Support vexpress_aemv8a"
@@ -535,53 +731,69 @@ config TARGET_LS2085A_SIMU config TARGET_LS1021AQDS bool "Support ls1021aqds_nor" + select CPU_V7 config TARGET_LS1021ATWR bool "Support ls1021atwr_nor" + select CPU_V7 config TARGET_BALLOON3 bool "Support balloon3" + select CPU_PXA config TARGET_H2200 bool "Support h2200" + select CPU_PXA config TARGET_PALMLD bool "Support palmld" + select CPU_PXA config TARGET_PALMTC bool "Support palmtc" + select CPU_PXA config TARGET_PALMTREO680 bool "Support palmtreo680" + select CPU_PXA select SUPPORT_SPL config TARGET_PXA255_IDP bool "Support pxa255_idp" + select CPU_PXA config TARGET_TRIZEPSIV bool "Support trizepsiv" + select CPU_PXA config TARGET_VPAC270 bool "Support vpac270" + select CPU_PXA select SUPPORT_SPL config TARGET_XAENIAX bool "Support xaeniax" + select CPU_PXA config TARGET_ZIPITZ2 bool "Support zipitz2" + select CPU_PXA config TARGET_LP8X4X bool "Support lp8x4x" + select CPU_PXA config TARGET_COLIBRI_PXA270 bool "Support colibri_pxa270" + select CPU_PXA config TARGET_JORNADA bool "Support jornada" + select CPU_SA1100 config ARCH_UNIPHIER bool "Panasonic UniPhier platform" + select CPU_V7 select SUPPORT_SPL endchoice
arch/arm/cpu/arm926ejs/davinci/Kconfig +0 -3
@@ -57,9 +57,6 @@ config TARGET_CALIMAIN endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "davinci"
arch/arm/cpu/arm926ejs/kirkwood/Kconfig +0 -3
@@ -59,9 +59,6 @@ config TARGET_GOFLEXHOME endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "kirkwood"
arch/arm/cpu/arm926ejs/nomadik/Kconfig +0 -3
@@ -8,9 +8,6 @@ config NOMADIK_NHK8815 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "nomadik"
arch/arm/cpu/arm926ejs/orion5x/Kconfig +0 -3
@@ -8,9 +8,6 @@ config TARGET_EDMINIV2 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "orion5x"
arch/arm/cpu/arm926ejs/versatile/Kconfig +0 -3
@@ -1,8 +1,5 @@ if ARCH_VERSATILE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "versatile"
arch/arm/cpu/armv7/exynos/Kconfig +0 -3
@@ -51,9 +51,6 @@ config TARGET_PEACH_PIT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "exynos"
arch/arm/cpu/armv7/highbank/Kconfig +0 -3
@@ -1,8 +1,5 @@ if ARCH_HIGHBANK -config SYS_CPU - default "armv7" - config SYS_BOARD default "highbank"
arch/arm/cpu/armv7/keystone/Kconfig +0 -3
@@ -14,9 +14,6 @@ config TARGET_K2L_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "keystone"
arch/arm/cpu/armv7/omap3/Kconfig +0 -3
@@ -90,9 +90,6 @@ config TARGET_TWISTER endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap3"
arch/arm/cpu/armv7/omap4/Kconfig +0 -3
@@ -14,9 +14,6 @@ config TARGET_OMAP4_SDP4430 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap4"
arch/arm/cpu/armv7/omap5/Kconfig +0 -3
@@ -14,9 +14,6 @@ config TARGET_DRA7XX_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap5"
arch/arm/cpu/armv7/rmobile/Kconfig +0 -3
@@ -20,9 +20,6 @@ config TARGET_ALT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "rmobile"
arch/arm/cpu/armv7/s5pc1xx/Kconfig +0 -3
@@ -13,9 +13,6 @@ config TARGET_SMDKC100 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "s5pc1xx"
arch/arm/cpu/armv7/uniphier/Kconfig +0 -6
@@ -1,16 +1,10 @@ menu "Panasonic UniPhier platform" depends on ARCH_UNIPHIER -config SYS_CPU - string - default "armv7" - config SYS_SOC - string default "uniphier" config SYS_CONFIG_NAME - string default "ph1_pro4" if MACH_PH1_PRO4 default "ph1_ld4" if MACH_PH1_LD4 default "ph1_sld8" if MACH_PH1_SLD8
arch/arm/cpu/armv7/zynq/Kconfig +0 -3
@@ -17,9 +17,6 @@ config TARGET_ZYNQ_ZC770 endchoice -config SYS_CPU - default "armv7" - config SYS_BOARD default "zynq"
board/BuR/kwb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_KWB -config SYS_CPU - default "armv7" - config SYS_BOARD default "kwb"
board/BuR/tseries/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TSERIES -config SYS_CPU - default "armv7" - config SYS_BOARD default "tseries"
board/BuS/eb_cpux9k2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EB_CPUX9K2 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "eb_cpux9k2"
board/BuS/vl_ma2sc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VL_MA2SC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "vl_ma2sc"
board/CarMediaLab/flea3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_FLEA3 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "flea3"
board/Marvell/aspenite/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ASPENITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "aspenite"
board/Marvell/dkb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_DKB -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "dkb"
board/Marvell/gplugd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_GPLUGD -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "gplugd"
board/afeb9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AFEB9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "afeb9260"
board/altera/socfpga/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SOCFPGA_CYCLONE5 -config SYS_CPU - default "armv7" - config SYS_BOARD default "socfpga"
board/aristainetos/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ARISTAINETOS -config SYS_CPU - default "armv7" - config SYS_BOARD default "aristainetos"
board/armadeus/apf27/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_APF27 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apf27"
board/armltd/integrator/Kconfig +0 -24
@@ -1,8 +1,5 @@ if TARGET_INTEGRATORAP_CM720T -config SYS_CPU - default "arm720t" - config SYS_BOARD default "integrator"
@@ -16,9 +13,6 @@ endif if TARGET_INTEGRATORAP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"
@@ -32,9 +26,6 @@ endif if TARGET_INTEGRATORCP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"
@@ -48,9 +39,6 @@ endif if TARGET_INTEGRATORAP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"
@@ -64,9 +52,6 @@ endif if TARGET_INTEGRATORCP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"
@@ -80,9 +65,6 @@ endif if TARGET_INTEGRATORCP_CM1136 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "integrator"
@@ -96,9 +78,6 @@ endif if TARGET_INTEGRATORAP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"
@@ -112,9 +91,6 @@ endif if TARGET_INTEGRATORCP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"
board/armltd/vexpress/Kconfig +0 -9
@@ -1,8 +1,5 @@ if TARGET_VEXPRESS_CA15_TC2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
@@ -16,9 +13,6 @@ endif if TARGET_VEXPRESS_CA5X2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
@@ -32,9 +26,6 @@ endif if TARGET_VEXPRESS_CA9X4 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"
board/atmel/at91rm9200ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91RM9200EK -config SYS_CPU - default "arm920t" - config SYS_BOARD default "at91rm9200ek"
board/atmel/at91sam9260ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9260EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9260ek"
board/atmel/at91sam9261ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9261EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9261ek"
board/atmel/at91sam9263ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9263EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9263ek"
board/atmel/at91sam9m10g45ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9M10G45EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9m10g45ek"
board/atmel/at91sam9n12ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9N12EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9n12ek"
board/atmel/at91sam9rlek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9RLEK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9rlek"
board/atmel/at91sam9x5ek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AT91SAM9X5EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9x5ek"
board/atmel/sama5d3_xplained/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SAMA5D3_XPLAINED -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3_xplained"
board/atmel/sama5d3xek/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SAMA5D3XEK -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3xek"
board/bachmann/ot1200/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_OT1200 -config SYS_CPU - default "armv7" - config SYS_BOARD default "ot1200"
board/balloon3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BALLOON3 -config SYS_CPU - default "pxa" - config SYS_BOARD default "balloon3"
board/barco/titanium/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TITANIUM -config SYS_CPU - default "armv7" - config SYS_BOARD default "titanium"
board/bluegiga/apx4devkit/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_APX4DEVKIT -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apx4devkit"
board/bluewater/snapper9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SNAPPER9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "snapper9260"
board/boundary/nitrogen6x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_NITROGEN6X -config SYS_CPU - default "armv7" - config SYS_BOARD default "nitrogen6x"
board/broadcom/bcm28155_ap/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM28155_AP -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm28155_ap"
board/broadcom/bcm958300k/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM958300K -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"
board/broadcom/bcm958622hr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BCM958622HR -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"
board/calao/sbc35_a9g20/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SBC35_A9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sbc35_a9g20"
board/calao/tny_a9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TNY_A9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tny_a9260"
board/calao/usb_a9263/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_USB_A9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "usb_a9263"
board/cirrus/edb93xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EDB93XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "edb93xx"
board/cm4008/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM4008 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm4008"
board/cm41xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM41XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm41xx"
board/compulab/cm_fx6/Kconfig +0 -8
@@ -1,23 +1,15 @@ if TARGET_CM_FX6 -config SYS_CPU - string - default "armv7" - config SYS_BOARD - string default "cm_fx6" config SYS_VENDOR - string default "compulab" config SYS_SOC - string default "mx6" config SYS_CONFIG_NAME - string default "cm_fx6" endif
board/compulab/cm_t335/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CM_T335 -config SYS_CPU - default "armv7" - config SYS_BOARD default "cm_t335"
board/congatec/cgtqmx6eval/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CGTQMX6EVAL -config SYS_CPU - default "armv7" - config SYS_BOARD default "cgtqmx6eval"
board/creative/xfi3/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_XFI3 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "xfi3"
board/davedenx/qong/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_QONG -config SYS_CPU - default "arm1136" - config SYS_BOARD default "qong"
board/denx/m28evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_M28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "m28evk"
board/denx/m53evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_M53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "m53evk"
board/egnite/ethernut5/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ETHERNUT5 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "ethernut5"
board/embest/mx6boards/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_EMBESTMX6BOARDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6boards"
board/emk/top9000/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TOP9000 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "top9000"
board/esd/meesc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MEESC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "meesc"
board/esd/otc570/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_OTC570 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "otc570"
board/esg/ima3-mx53/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMA3_MX53 -config SYS_CPU - default "armv7" - config SYS_BOARD default "ima3-mx53"
board/eukrea/cpu9260/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CPU9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "cpu9260"
board/eukrea/cpuat91/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CPUAT91 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cpuat91"
board/faraday/a320evb/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_A320EVB -config SYS_CPU - default "arm920t" - config SYS_BOARD default "a320evb"
board/freescale/ls1021aqds/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LS1021AQDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021aqds"
board/freescale/ls1021atwr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LS1021ATWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021atwr"
board/freescale/mx23evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX23EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23evk"
board/freescale/mx25pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX25PDK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx25pdk"
board/freescale/mx28evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx28evk"
board/freescale/mx31ads/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX31ADS -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31ads"
board/freescale/mx31pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX31PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31pdk"
board/freescale/mx35pdk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX35PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx35pdk"
board/freescale/mx51evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX51EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51evk"
board/freescale/mx53ard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53ARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53ard"
board/freescale/mx53evk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53evk"
board/freescale/mx53loco/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53LOCO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53loco"
board/freescale/mx53smd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX53SMD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53smd"
board/freescale/mx6qarm2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6QARM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qarm2"
board/freescale/mx6qsabreauto/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6QSABREAUTO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qsabreauto"
board/freescale/mx6sabresd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sabresd"
board/freescale/mx6slevk/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SLEVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6slevk"
board/freescale/mx6sxsabresd/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX6SXSABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sxsabresd"
board/freescale/vf610twr/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VF610TWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "vf610twr"
board/gateworks/gw_ventana/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_GW_VENTANA -config SYS_CPU - default "armv7" - config SYS_BOARD default "gw_ventana"
board/genesi/mx51_efikamx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX51_EFIKAMX -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51_efikamx"
board/gumstix/pepper/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PEPPER -config SYS_CPU - default "armv7" - config SYS_BOARD default "pepper"
board/h2200/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_H2200 -config SYS_CPU - default "pxa" - config SYS_BOARD default "h2200"
board/hale/tt01/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TT01 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "tt01"
board/icpdas/lp8x4x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_LP8X4X -config SYS_CPU - default "pxa" - config SYS_BOARD default "lp8x4x"
board/imx31_phycore/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMX31_PHYCORE -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_phycore"
board/isee/igep0033/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM335X_IGEP0033 -config SYS_CPU - default "armv7" - config SYS_BOARD default "igep0033"
board/jornada/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_JORNADA -config SYS_CPU - default "sa1100" - config SYS_BOARD default "jornada"
board/karo/tx25/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tx25"
board/logicpd/imx27lite/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_IMX27LITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"
@@ -19,9 +16,6 @@ endif if TARGET_MAGNESIUM -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"
board/logicpd/imx31_litekit/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_IMX31_LITEKIT -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_litekit"
board/mpl/vcma9/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VCMA9 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "vcma9"
board/olimex/mx23_olinuxino/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_MX23_OLINUXINO -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23_olinuxino"
board/palmld/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMLD -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmld"
board/palmtc/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMTC -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtc"
board/palmtreo680/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PALMTREO680 -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtreo680"
board/phytec/pcm051/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PCM051 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pcm051"
board/ppcag/bg0900/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_BG0900 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "bg0900"
board/pxa255_idp/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PXA255_IDP -config SYS_CPU - default "pxa" - config SYS_BOARD default "pxa255_idp"
board/raspberrypi/rpi_b/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_RPI_B -config SYS_CPU - default "arm1176" - config SYS_BOARD default "rpi_b"
board/ronetix/pm9261/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9261 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9261"
board/ronetix/pm9263/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9263"
board/ronetix/pm9g45/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PM9G45 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9g45"
board/samsung/goni/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_S5P_GONI -config SYS_CPU - default "armv7" - config SYS_BOARD default "goni"
board/samsung/smdk2410/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SMDK2410 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "smdk2410"
board/samsung/smdkc100/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SMDKC100 -config SYS_CPU - default "armv7" - config SYS_BOARD default "smdkc100"
board/sandisk/sansa_fuze_plus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SANSA_FUZE_PLUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sansa_fuze_plus"
board/scb9328/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SCB9328 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "scb9328"
board/schulercontrol/sc_sps_1/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SC_SPS_1 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sc_sps_1"
board/siemens/corvus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_CORVUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "corvus"
board/siemens/draco/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_DRACO -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"
@@ -19,9 +16,6 @@ endif if TARGET_DXR2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"
board/siemens/pxm2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PXM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pxm2"
board/siemens/rut/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_RUT -config SYS_CPU - default "armv7" - config SYS_BOARD default "rut"
board/siemens/taurus/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TAURUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "taurus"
board/silica/pengwyn/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_PENGWYN -config SYS_CPU - default "armv7" - config SYS_BOARD default "pengwyn"
board/solidrun/hummingboard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_HUMMINGBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "hummingboard"
board/spear/spear300/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR300 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear300"
board/spear/spear310/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR310 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear310"
board/spear/spear320/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR320 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear320"
board/spear/spear600/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SPEAR600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear600"
board/spear/x600/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_X600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "x600"
board/st-ericsson/snowball/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_SNOWBALL -config SYS_CPU - default "armv7" - config SYS_BOARD default "snowball"
board/st-ericsson/u8500/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_U8500_HREF -config SYS_CPU - default "armv7" - config SYS_BOARD default "u8500"
board/sunxi/Kconfig +0 -3
@@ -8,9 +8,6 @@ config SYS_CONFIG_NAME default "sun7i" if TARGET_SUN7I default "sun8i" if TARGET_SUN8I -config SYS_CPU - default "armv7" - config SYS_BOARD default "sunxi"
board/syteco/jadecpu/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_JADECPU -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "jadecpu"
board/syteco/zmx25/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ZMX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "zmx25"
board/taskit/stamp9g20/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_STAMP9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "stamp9g20"
board/ti/am335x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM335X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am335x"
board/ti/am43xx/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_AM43XX_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am43xx"
board/ti/ti814x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TI814X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti814x"
board/ti/ti816x/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TI816X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti816x"
board/ti/tnetv107xevm/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TNETV107X_EVM -config SYS_CPU - default "arm1176" - config SYS_BOARD default "tnetv107xevm"
board/timll/devkit3250/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_DEVKIT3250 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "devkit3250"
board/toradex/colibri_pxa270/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_COLIBRI_PXA270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "colibri_pxa270"
board/tqc/tqma6/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TQMA6 -config SYS_CPU - default "armv7" - config SYS_BOARD default "tqma6"
board/trizepsiv/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_TRIZEPSIV -config SYS_CPU - default "pxa" - config SYS_BOARD default "trizepsiv"
board/ttcontrol/vision2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VISION2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vision2"
board/udoo/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_UDOO -config SYS_CPU - default "armv7" - config SYS_BOARD default "udoo"
board/vpac270/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_VPAC270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "vpac270"
board/wandboard/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_WANDBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "wandboard"
board/woodburn/Kconfig +0 -6
@@ -1,8 +1,5 @@ if TARGET_WOODBURN -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"
@@ -16,9 +13,6 @@ endif if TARGET_WOODBURN_SD -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"
board/xaeniax/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_XAENIAX -config SYS_CPU - default "pxa" - config SYS_BOARD default "xaeniax"
board/zipitz2/Kconfig +0 -3
@@ -1,8 +1,5 @@ if TARGET_ZIPITZ2 -config SYS_CPU - default "pxa" - config SYS_BOARD default "zipitz2"
common/lcd.c +0 -1
@@ -33,7 +33,6 @@#if defined(CONFIG_CPU_PXA25X ) || defined(CONFIG_CPU_PXA27X ) || \ defined(CONFIG_CPU_MONAHANS ) -#define CONFIG_CPU_PXA #include <asm/byteorder.h> #endif
Signature · 1 line
2.1.2
PATCH v4 1/4 kconfig: arm: introduce symbol for ARM CPUs
Hi Georges (and Tom),
Quoted 29 lines · On Tue, 28 Oct 2014 23:16:09 +0100 Georges Savoundararadj <[email protected]>…
This commit introduces a
Kconfigsymbol for each ARM CPU:CPU_ARM720T,CPU_ARM920T,CPU_ARM926EJS,CPU_ARM946ES,CPU_ARM1136,CPU_ARM1176,CPU_V7,CPU_PXA,CPU_SA1100.
Also, it adds the CPU featureKconfigsymbolHAS_VBARwhich is selected forCPU_ARM1176andCPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPUin the correspondingKconfigfile is removed.Also, it removes redundant "string" type in some
Kconfigfiles.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Masahiro Yamada <[email protected]>---
This patch needs a little review as it impacts many files.Changes in v4:
- s/ARM113/ARM1136
- Remove bad CPU select onTARGET_VEXPRESS_AEMV8A
- As it introducesCONFIG_CPU_PXA, remove the define incommon/lcd.c
- Rebase to master
- Add "selectCPU_V7" toTARGET_SUN6I
- Add "select CPU_ARM720T/CPU_V7" depending onSPL_BUILDfor TEGRA
Quoted 1 line
board/emk/top9000/Kconfig | 3 -
This file was deleted by commit d58a9451e.
This patch is not cleanly applicable on the current master but it is really easy to resolve this conflict.
I applied this patch on commit d58a9451e
resolving the conflict and tested it.
I built all the ARM boards and checked MD5SUM with/without this patch. I believe this patch is good. Thanks!
I think this patch should go into Tom's repo asap because it becomes out-of-dated soon.
Tom,
Could you get this in shortly?
Best Regards
Masahiro Yamada
PATCH v4 1/4 kconfig: arm: introduce symbol for ARM CPUs
Quoted 53 lines · Masahiro Yamada
Hi Georges (and Tom),
Quoted 29 lines · On Tue, 28 Oct 2014 23:16:09 +0100 Georges Savoundararadj <[email protected]>…
This commit introduces a
Kconfigsymbol for each ARM CPU:CPU_ARM720T,CPU_ARM920T,CPU_ARM926EJS,CPU_ARM946ES,CPU_ARM1136,CPU_ARM1176,CPU_V7,CPU_PXA,CPU_SA1100.
Also, it adds the CPU featureKconfigsymbolHAS_VBARwhich is selected forCPU_ARM1176andCPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPUin the correspondingKconfigfile is removed.Also, it removes redundant "string" type in some
Kconfigfiles.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Masahiro Yamada <[email protected]>---
This patch needs a little review as it impacts many files.Changes in v4:
- s/ARM113/ARM1136
- Remove bad CPU select onTARGET_VEXPRESS_AEMV8A
- As it introducesCONFIG_CPU_PXA, remove the define incommon/lcd.c
- Rebase to master
- Add "selectCPU_V7" toTARGET_SUN6I
- Add "select CPU_ARM720T/CPU_V7" depending onSPL_BUILDfor TEGRAQuoted 1 line
board/emk/top9000/Kconfig | 3 -This file was deleted by commit
d58a9451e.This patch is not cleanly applicable on the current master but it is really easy to resolve this conflict.
I applied this patch on commit
d58a9451e
resolving the conflict and tested it.I built all the ARM boards and checked MD5SUM with/without this patch. I believe this patch is good. Thanks!
Tested-by Masahiro Yamada <[email protected]>Acked-by Masahiro Yamada <[email protected]>
Quoted 5 lines
I think this patch should go into Tom's repo asap because it becomes out-of-dated soon.
Tom,
Could you get this in shortly?
Albert, can you ack the parts of this that you haven't yet and then I'll grab it? Or, of course, request further changes :) Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141029/1fd3b526/attachment.pgp>
PATCH v4 1/4 kconfig: arm: introduce symbol for ARM CPUs
In reply to Georges SavoundararadjHello Georges,
Quoted 3,136 lines · Georges Savoundararadj
This commit introduces a
Kconfigsymbol for each ARM CPU:CPU_ARM720T,CPU_ARM920T,CPU_ARM926EJS,CPU_ARM946ES,CPU_ARM1136,CPU_ARM1176,CPU_V7,CPU_PXA,CPU_SA1100.
Also, it adds the CPU featureKconfigsymbolHAS_VBARwhich is selected forCPU_ARM1176andCPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPUin the correspondingKconfigfile is removed.Also, it removes redundant "string" type in some
Kconfigfiles.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Masahiro Yamada <[email protected]>---
This patch needs a little review as it impacts many files.Changes in v4:
- s/ARM113/ARM1136
- Remove bad CPU select onTARGET_VEXPRESS_AEMV8A
- As it introducesCONFIG_CPU_PXA, remove the define incommon/lcd.c
- Rebase to master
- Add "selectCPU_V7" toTARGET_SUN6I
- Add "select CPU_ARM720T/CPU_V7" depending onSPL_BUILDfor TEGRAChanges in v3:
- Add this commitChanges in v2: None
arch/arm/Kconfig | 212 +++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 3 - arch/arm/cpu/arm926ejs/kirkwood/Kconfig | 3 - arch/arm/cpu/arm926ejs/nomadik/Kconfig | 3 - arch/arm/cpu/arm926ejs/orion5x/Kconfig | 3 - arch/arm/cpu/arm926ejs/versatile/Kconfig | 3 - arch/arm/cpu/armv7/exynos/Kconfig | 3 - arch/arm/cpu/armv7/highbank/Kconfig | 3 - arch/arm/cpu/armv7/keystone/Kconfig | 3 - arch/arm/cpu/armv7/omap3/Kconfig | 3 - arch/arm/cpu/armv7/omap4/Kconfig | 3 - arch/arm/cpu/armv7/omap5/Kconfig | 3 - arch/arm/cpu/armv7/rmobile/Kconfig | 3 - arch/arm/cpu/armv7/s5pc1xx/Kconfig | 3 - arch/arm/cpu/armv7/uniphier/Kconfig | 6 - arch/arm/cpu/armv7/zynq/Kconfig | 3 - board/BuR/kwb/Kconfig | 3 - board/BuR/tseries/Kconfig | 3 - board/BuS/eb_cpux9k2/Kconfig | 3 - board/BuS/vl_ma2sc/Kconfig | 3 - board/CarMediaLab/flea3/Kconfig | 3 - board/Marvell/aspenite/Kconfig | 3 - board/Marvell/dkb/Kconfig | 3 - board/Marvell/gplugd/Kconfig | 3 - board/afeb9260/Kconfig | 3 - board/altera/socfpga/Kconfig | 3 - board/aristainetos/Kconfig | 3 - board/armadeus/apf27/Kconfig | 3 - board/armltd/integrator/Kconfig | 24 ---- board/armltd/vexpress/Kconfig | 9 -- board/atmel/at91rm9200ek/Kconfig | 3 - board/atmel/at91sam9260ek/Kconfig | 3 - board/atmel/at91sam9261ek/Kconfig | 3 - board/atmel/at91sam9263ek/Kconfig | 3 - board/atmel/at91sam9m10g45ek/Kconfig | 3 - board/atmel/at91sam9n12ek/Kconfig | 3 - board/atmel/at91sam9rlek/Kconfig | 3 - board/atmel/at91sam9x5ek/Kconfig | 3 - board/atmel/sama5d3_xplained/Kconfig | 3 - board/atmel/sama5d3xek/Kconfig | 3 - board/bachmann/ot1200/Kconfig | 3 - board/balloon3/Kconfig | 3 - board/barco/titanium/Kconfig | 3 - board/bluegiga/apx4devkit/Kconfig | 3 - board/bluewater/snapper9260/Kconfig | 3 - board/boundary/nitrogen6x/Kconfig | 3 - board/broadcom/bcm28155_ap/Kconfig | 3 - board/broadcom/bcm958300k/Kconfig | 3 - board/broadcom/bcm958622hr/Kconfig | 3 - board/calao/sbc35_a9g20/Kconfig | 3 - board/calao/tny_a9260/Kconfig | 3 - board/calao/usb_a9263/Kconfig | 3 - board/cirrus/edb93xx/Kconfig | 3 - board/cm4008/Kconfig | 3 - board/cm41xx/Kconfig | 3 - board/compulab/cm_fx6/Kconfig | 8 -- board/compulab/cm_t335/Kconfig | 3 - board/congatec/cgtqmx6eval/Kconfig | 3 - board/creative/xfi3/Kconfig | 3 - board/davedenx/qong/Kconfig | 3 - board/denx/m28evk/Kconfig | 3 - board/denx/m53evk/Kconfig | 3 - board/egnite/ethernut5/Kconfig | 3 - board/embest/mx6boards/Kconfig | 3 - board/emk/top9000/Kconfig | 3 - board/esd/meesc/Kconfig | 3 - board/esd/otc570/Kconfig | 3 - board/esg/ima3-mx53/Kconfig | 3 - board/eukrea/cpu9260/Kconfig | 3 - board/eukrea/cpuat91/Kconfig | 3 - board/faraday/a320evb/Kconfig | 3 - board/freescale/ls1021aqds/Kconfig | 3 - board/freescale/ls1021atwr/Kconfig | 3 - board/freescale/mx23evk/Kconfig | 3 - board/freescale/mx25pdk/Kconfig | 3 - board/freescale/mx28evk/Kconfig | 3 - board/freescale/mx31ads/Kconfig | 3 - board/freescale/mx31pdk/Kconfig | 3 - board/freescale/mx35pdk/Kconfig | 3 - board/freescale/mx51evk/Kconfig | 3 - board/freescale/mx53ard/Kconfig | 3 - board/freescale/mx53evk/Kconfig | 3 - board/freescale/mx53loco/Kconfig | 3 - board/freescale/mx53smd/Kconfig | 3 - board/freescale/mx6qarm2/Kconfig | 3 - board/freescale/mx6qsabreauto/Kconfig | 3 - board/freescale/mx6sabresd/Kconfig | 3 - board/freescale/mx6slevk/Kconfig | 3 - board/freescale/mx6sxsabresd/Kconfig | 3 - board/freescale/vf610twr/Kconfig | 3 - board/gateworks/gw_ventana/Kconfig | 3 - board/genesi/mx51_efikamx/Kconfig | 3 - board/gumstix/pepper/Kconfig | 3 - board/h2200/Kconfig | 3 - board/hale/tt01/Kconfig | 3 - board/icpdas/lp8x4x/Kconfig | 3 - board/imx31_phycore/Kconfig | 3 - board/isee/igep0033/Kconfig | 3 - board/jornada/Kconfig | 3 - board/karo/tx25/Kconfig | 3 - board/logicpd/imx27lite/Kconfig | 6 - board/logicpd/imx31_litekit/Kconfig | 3 - board/mpl/vcma9/Kconfig | 3 - board/olimex/mx23_olinuxino/Kconfig | 3 - board/palmld/Kconfig | 3 - board/palmtc/Kconfig | 3 - board/palmtreo680/Kconfig | 3 - board/phytec/pcm051/Kconfig | 3 - board/ppcag/bg0900/Kconfig | 3 - board/pxa255_idp/Kconfig | 3 - board/raspberrypi/rpi_b/Kconfig | 3 - board/ronetix/pm9261/Kconfig | 3 - board/ronetix/pm9263/Kconfig | 3 - board/ronetix/pm9g45/Kconfig | 3 - board/samsung/goni/Kconfig | 3 - board/samsung/smdk2410/Kconfig | 3 - board/samsung/smdkc100/Kconfig | 3 - board/sandisk/sansa_fuze_plus/Kconfig | 3 - board/scb9328/Kconfig | 3 - board/schulercontrol/sc_sps_1/Kconfig | 3 - board/siemens/corvus/Kconfig | 3 - board/siemens/draco/Kconfig | 6 - board/siemens/pxm2/Kconfig | 3 - board/siemens/rut/Kconfig | 3 - board/siemens/taurus/Kconfig | 3 - board/silica/pengwyn/Kconfig | 3 - board/solidrun/hummingboard/Kconfig | 3 - board/spear/spear300/Kconfig | 3 - board/spear/spear310/Kconfig | 3 - board/spear/spear320/Kconfig | 3 - board/spear/spear600/Kconfig | 3 - board/spear/x600/Kconfig | 3 - board/st-ericsson/snowball/Kconfig | 3 - board/st-ericsson/u8500/Kconfig | 3 - board/sunxi/Kconfig | 3 - board/syteco/jadecpu/Kconfig | 3 - board/syteco/zmx25/Kconfig | 3 - board/taskit/stamp9g20/Kconfig | 3 - board/ti/am335x/Kconfig | 3 - board/ti/am43xx/Kconfig | 3 - board/ti/ti814x/Kconfig | 3 - board/ti/ti816x/Kconfig | 3 - board/ti/tnetv107xevm/Kconfig | 3 - board/timll/devkit3250/Kconfig | 3 - board/toradex/colibri_pxa270/Kconfig | 3 - board/tqc/tqma6/Kconfig | 3 - board/trizepsiv/Kconfig | 3 - board/ttcontrol/vision2/Kconfig | 3 - board/udoo/Kconfig | 3 - board/vpac270/Kconfig | 3 - board/wandboard/Kconfig | 3 - board/woodburn/Kconfig | 6 - board/xaeniax/Kconfig | 3 - board/zipitz2/Kconfig | 3 - common/lcd.c | 1 - 155 files changed, 212 insertions(+), 504 deletions(-)arch/arm/Kconfig +212
-0@@ -7,139 +7,225 @@ config SYS_ARCH config ARM64 bool +config HAS_VBAR + bool + +config CPU_ARM720T + bool + +config CPU_ARM920T + bool + +config CPU_ARM926EJS + bool + +config CPU_ARM946ES + bool + +config CPU_ARM1136 + bool + +config CPU_ARM1176 + bool + select HAS_VBAR + +config CPU_V7 + bool + select HAS_VBAR + +config CPU_PXA + bool + +config CPU_SA1100 + bool + +config SYS_CPU + default "arm720t" if CPU_ARM720T + default "arm920t" if CPU_ARM920T + default "arm926ejs" if CPU_ARM926EJS + default "arm946es" if CPU_ARM946ES + default "arm1136" if CPU_ARM1136 + default "arm1176" if CPU_ARM1176 + default "armv7" if CPU_V7 + default "pxa" if CPU_PXA + default "sa1100" if CPU_SA1100 + choice prompt "Target select" config TARGET_INTEGRATORAP_CM720T bool "Support integratorap_cm720t" + select CPU_ARM720T config TARGET_INTEGRATORAP_CM920T bool "Support integratorap_cm920t" + select CPU_ARM920T config TARGET_INTEGRATORCP_CM920T bool "Support integratorcp_cm920t" + select CPU_ARM920T config TARGET_A320EVB bool "Support a320evb" + select CPU_ARM920T config TARGET_AT91RM9200EK bool "Support at91rm9200ek" + select CPU_ARM920T config TARGET_EB_CPUX9K2 bool "Support eb_cpux9k2" + select CPU_ARM920T config TARGET_CPUAT91 bool "Support cpuat91" + select CPU_ARM920T config TARGET_EDB93XX bool "Support edb93xx" + select CPU_ARM920T config TARGET_SCB9328 bool "Support scb9328" + select CPU_ARM920T config TARGET_CM4008 bool "Support cm4008" + select CPU_ARM920T config TARGET_CM41XX bool "Support cm41xx" + select CPU_ARM920T config TARGET_VCMA9 bool "Support VCMA9" + select CPU_ARM920T config TARGET_SMDK2410 bool "Support smdk2410" + select CPU_ARM920T config TARGET_INTEGRATORAP_CM926EJS bool "Support integratorap_cm926ejs" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM926EJS bool "Support integratorcp_cm926ejs" + select CPU_ARM926EJS config TARGET_ASPENITE bool "Support aspenite" + select CPU_ARM926EJS config TARGET_GPLUGD bool "Support gplugd" + select CPU_ARM926EJS config TARGET_AFEB9260 bool "Support afeb9260" + select CPU_ARM926EJS config TARGET_AT91SAM9260EK bool "Support at91sam9260ek" + select CPU_ARM926EJS config TARGET_AT91SAM9261EK bool "Support at91sam9261ek" + select CPU_ARM926EJS config TARGET_AT91SAM9263EK bool "Support at91sam9263ek" + select CPU_ARM926EJS config TARGET_AT91SAM9M10G45EK bool "Support at91sam9m10g45ek" + select CPU_ARM926EJS config TARGET_AT91SAM9N12EK bool "Support at91sam9n12ek" + select CPU_ARM926EJS config TARGET_AT91SAM9RLEK bool "Support at91sam9rlek" + select CPU_ARM926EJS config TARGET_AT91SAM9X5EK bool "Support at91sam9x5ek" + select CPU_ARM926EJS config TARGET_SNAPPER9260 bool "Support snapper9260" + select CPU_ARM926EJS config TARGET_VL_MA2SC bool "Support vl_ma2sc" + select CPU_ARM926EJS config TARGET_SBC35_A9G20 bool "Support sbc35_a9g20" + select CPU_ARM926EJS config TARGET_TNY_A9260 bool "Support tny_a9260" + select CPU_ARM926EJS config TARGET_USB_A9263 bool "Support usb_a9263" + select CPU_ARM926EJS config TARGET_ETHERNUT5 bool "Support ethernut5" + select CPU_ARM926EJS config TARGET_TOP9000 bool "Support top9000" + select CPU_ARM926EJS config TARGET_MEESC bool "Support meesc" + select CPU_ARM926EJS config TARGET_OTC570 bool "Support otc570" + select CPU_ARM926EJS config TARGET_CPU9260 bool "Support cpu9260" + select CPU_ARM926EJS config TARGET_PM9261 bool "Support pm9261" + select CPU_ARM926EJS config TARGET_PM9263 bool "Support pm9263" + select CPU_ARM926EJS config TARGET_PM9G45 bool "Support pm9g45" + select CPU_ARM926EJS config TARGET_CORVUS bool "Support corvus" + select CPU_ARM926EJS config TARGET_TAURUS bool "Support taurus" + select CPU_ARM926EJS config TARGET_STAMP9G20 bool "Support stamp9g20" + select CPU_ARM926EJS config ARCH_DAVINCI bool "TI DaVinci" + select CPU_ARM926EJS help Support for TI's DaVinci platform. config KIRKWOOD bool "Marvell Kirkwood" + select CPU_ARM926EJS config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp"@@ -149,370 +235,478 @@ config TARGET_MAXBCM config TARGET_DEVKIT3250 bool "Support devkit3250" + select CPU_ARM926EJS config TARGET_JADECPU bool "Support jadecpu" + select CPU_ARM926EJS config TARGET_MX25PDK bool "Support mx25pdk" + select CPU_ARM926EJS config TARGET_TX25 bool "Support tx25" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_ZMX25 bool "Support zmx25" + select CPU_ARM926EJS config TARGET_APF27 bool "Support apf27" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_IMX27LITE bool "Support imx27lite" + select CPU_ARM926EJS config TARGET_MAGNESIUM bool "Support magnesium" + select CPU_ARM926EJS config TARGET_APX4DEVKIT bool "Support apx4devkit" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_XFI3 bool "Support xfi3" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_M28EVK bool "Support m28evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX23EVK bool "Support mx23evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX28EVK bool "Support mx28evk" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_MX23_OLINUXINO bool "Support mx23_olinuxino" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_BG0900 bool "Support bg0900" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_SANSA_FUZE_PLUS bool "Support sansa_fuze_plus" + select CPU_ARM926EJS select SUPPORT_SPL config TARGET_SC_SPS_1 bool "Support sc_sps_1" + select CPU_ARM926EJS select SUPPORT_SPL config ARCH_NOMADIK bool "ST-Ericsson Nomadik" + select CPU_ARM926EJS config ORION5X bool "Marvell Orion" + select CPU_ARM926EJS config TARGET_DKB bool "Support dkb" + select CPU_ARM926EJS config TARGET_SPEAR300 bool "Support spear300" + select CPU_ARM926EJS config TARGET_SPEAR310 bool "Support spear310" + select CPU_ARM926EJS config TARGET_SPEAR320 bool "Support spear320" + select CPU_ARM926EJS config TARGET_SPEAR600 bool "Support spear600" + select CPU_ARM926EJS config TARGET_X600 bool "Support x600" + select CPU_ARM926EJS select SUPPORT_SPL config ARCH_VERSATILE bool "ARM Ltd. Versatile family" + select CPU_ARM926EJS config TARGET_INTEGRATORCP_CM1136 bool "Support integratorcp_cm1136" + select CPU_ARM1136 config TARGET_IMX31_PHYCORE bool "Support imx31_phycore" + select CPU_ARM1136 config TARGET_QONG bool "Support qong" + select CPU_ARM1136 config TARGET_MX31ADS bool "Support mx31ads" + select CPU_ARM1136 config TARGET_MX31PDK bool "Support mx31pdk" + select CPU_ARM1136 select SUPPORT_SPL config TARGET_TT01 bool "Support tt01" + select CPU_ARM1136 config TARGET_IMX31_LITEKIT bool "Support imx31_litekit" + select CPU_ARM1136 config TARGET_WOODBURN bool "Support woodburn" + select CPU_ARM1136 config TARGET_WOODBURN_SD bool "Support woodburn_sd" + select CPU_ARM1136 select SUPPORT_SPL config TARGET_FLEA3 bool "Support flea3" + select CPU_ARM1136 config TARGET_MX35PDK bool "Support mx35pdk" + select CPU_ARM1136 config TARGET_RPI_B bool "Support rpi_b" + select CPU_ARM1176 config TARGET_TNETV107X_EVM bool "Support tnetv107x_evm" + select CPU_ARM1176 config TARGET_INTEGRATORAP_CM946ES bool "Support integratorap_cm946es" + select CPU_ARM946ES config TARGET_INTEGRATORCP_CM946ES bool "Support integratorcp_cm946es" + select CPU_ARM946ES config TARGET_VEXPRESS_CA15_TC2 bool "Support vexpress_ca15_tc2" + select CPU_V7 config TARGET_VEXPRESS_CA5X2 bool "Support vexpress_ca5x2" + select CPU_V7 config TARGET_VEXPRESS_CA9X4 bool "Support vexpress_ca9x4" + select CPU_V7 config TARGET_KWB bool "Support kwb" + select CPU_V7 select SUPPORT_SPL config TARGET_TSERIES bool "Support tseries" + select CPU_V7 select SUPPORT_SPL config TARGET_CM_T335 bool "Support cm_t335" + select CPU_V7 select SUPPORT_SPL config TARGET_PEPPER bool "Support pepper" + select CPU_V7 select SUPPORT_SPL config TARGET_AM335X_IGEP0033 bool "Support am335x_igep0033" + select CPU_V7 select SUPPORT_SPL config TARGET_PCM051 bool "Support pcm051" + select CPU_V7 select SUPPORT_SPL config TARGET_DRACO bool "Support draco" + select CPU_V7 select SUPPORT_SPL config TARGET_DXR2 bool "Support dxr2" + select CPU_V7 select SUPPORT_SPL config TARGET_PXM2 bool "Support pxm2" + select CPU_V7 select SUPPORT_SPL config TARGET_RUT bool "Support rut" + select CPU_V7 select SUPPORT_SPL config TARGET_PENGWYN bool "Support pengwyn" + select CPU_V7 select SUPPORT_SPL config TARGET_AM335X_EVM bool "Support am335x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_AM43XX_EVM bool "Support am43xx_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_TI814X_EVM bool "Support ti814x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_TI816X_EVM bool "Support ti816x_evm" + select CPU_V7 select SUPPORT_SPL config TARGET_SAMA5D3_XPLAINED bool "Support sama5d3_xplained" + select CPU_V7 select SUPPORT_SPL config TARGET_SAMA5D3XEK bool "Support sama5d3xek" + select CPU_V7 select SUPPORT_SPL config TARGET_BCM28155_AP bool "Support bcm28155_ap" + select CPU_V7 config TARGET_BCM958300K bool "Support bcm958300k" + select CPU_V7 config TARGET_BCM958622HR bool "Support bcm958622hr" + select CPU_V7 config ARCH_EXYNOS bool "Samsung EXYNOS" + select CPU_V7 config ARCH_S5PC1XX bool "Samsung S5PC1XX" + select CPU_V7 config ARCH_HIGHBANK bool "Calxeda Highbank" + select CPU_V7 config ARCH_KEYSTONE bool "TI Keystone" + select CPU_V7 select SUPPORT_SPL config TARGET_M53EVK bool "Support m53evk" + select CPU_V7 select SUPPORT_SPL config TARGET_IMA3_MX53 bool "Support ima3-mx53" + select CPU_V7 config TARGET_MX51EVK bool "Support mx51evk" + select CPU_V7 config TARGET_MX53ARD bool "Support mx53ard" + select CPU_V7 config TARGET_MX53EVK bool "Support mx53evk" + select CPU_V7 config TARGET_MX53LOCO bool "Support mx53loco" + select CPU_V7 config TARGET_MX53SMD bool "Support mx53smd" + select CPU_V7 config TARGET_MX51_EFIKAMX bool "Support mx51_efikamx" + select CPU_V7 config TARGET_VISION2 bool "Support vision2" + select CPU_V7 config TARGET_UDOO bool "Support udoo" + select CPU_V7 config TARGET_WANDBOARD bool "Support wandboard" + select CPU_V7 config TARGET_TITANIUM bool "Support titanium" + select CPU_V7 config TARGET_NITROGEN6X bool "Support nitrogen6x" + select CPU_V7 config TARGET_CGTQMX6EVAL bool "Support cgtqmx6eval" + select CPU_V7 config TARGET_EMBESTMX6BOARDS bool "Support embestmx6boards" + select CPU_V7 config TARGET_ARISTAINETOS bool "Support aristainetos" + select CPU_V7 config TARGET_MX6QARM2 bool "Support mx6qarm2" + select CPU_V7 config TARGET_MX6QSABREAUTO bool "Support mx6qsabreauto" + select CPU_V7 config TARGET_MX6SABRESD bool "Support mx6sabresd" + select CPU_V7 config TARGET_MX6SLEVK bool "Support mx6slevk" + select CPU_V7 config TARGET_MX6SXSABRESD bool "Support mx6sxsabresd" + select CPU_V7 config TARGET_GW_VENTANA bool "Support gw_ventana" + select CPU_V7 select SUPPORT_SPL config TARGET_HUMMINGBOARD bool "Support hummingboard" + select CPU_V7 config TARGET_TQMA6 bool "TQ Systems TQMa6 board" + select CPU_V7 config TARGET_OT1200 bool "Bachmann OT1200" + select CPU_V7 config OMAP34XX bool "OMAP34XX SoC" + select CPU_V7 config OMAP44XX bool "OMAP44XX SoC" + select CPU_V7 select SUPPORT_SPL config OMAP54XX bool "OMAP54XX SoC" + select CPU_V7 select SUPPORT_SPL config RMOBILE bool "Renesas ARM SoCs" + select CPU_V7 config TARGET_CM_FX6 bool "Support cm_fx6" + select CPU_V7 select SUPPORT_SPL config TARGET_SOCFPGA_CYCLONE5 bool "Support socfpga_cyclone5" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN4I bool "Support sun4i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN5I bool "Support sun5i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN6I bool "Support sun6i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN7I bool "Support sun7i" + select CPU_V7 select SUPPORT_SPL config TARGET_SUN8I bool "Support sun8i" + select CPU_V7 select SUPPORT_SPL config TARGET_SNOWBALL bool "Support snowball" + select CPU_V7 config TARGET_U8500_HREF bool "Support u8500_href" + select CPU_V7 config TARGET_VF610TWR bool "Support vf610twr" + select CPU_V7 config ZYNQ bool "Xilinx Zynq Platform" + select CPU_V7 select SUPPORT_SPL config TEGRA@@ -520,6 +714,8 @@ config TEGRA select SUPPORT_SPL select SPL select OF_CONTROL if !SPL_BUILD + select CPU_ARM720T if SPL_BUILD + select CPU_V7 if !SPL_BUILD config TARGET_VEXPRESS_AEMV8A bool "Support vexpress_aemv8a"@@ -535,53 +731,69 @@ config TARGET_LS2085A_SIMU config TARGET_LS1021AQDS bool "Support ls1021aqds_nor" + select CPU_V7 config TARGET_LS1021ATWR bool "Support ls1021atwr_nor" + select CPU_V7 config TARGET_BALLOON3 bool "Support balloon3" + select CPU_PXA config TARGET_H2200 bool "Support h2200" + select CPU_PXA config TARGET_PALMLD bool "Support palmld" + select CPU_PXA config TARGET_PALMTC bool "Support palmtc" + select CPU_PXA config TARGET_PALMTREO680 bool "Support palmtreo680" + select CPU_PXA select SUPPORT_SPL config TARGET_PXA255_IDP bool "Support pxa255_idp" + select CPU_PXA config TARGET_TRIZEPSIV bool "Support trizepsiv" + select CPU_PXA config TARGET_VPAC270 bool "Support vpac270" + select CPU_PXA select SUPPORT_SPL config TARGET_XAENIAX bool "Support xaeniax" + select CPU_PXA config TARGET_ZIPITZ2 bool "Support zipitz2" + select CPU_PXA config TARGET_LP8X4X bool "Support lp8x4x" + select CPU_PXA config TARGET_COLIBRI_PXA270 bool "Support colibri_pxa270" + select CPU_PXA config TARGET_JORNADA bool "Support jornada" + select CPU_SA1100 config ARCH_UNIPHIER bool "Panasonic UniPhier platform" + select CPU_V7 select SUPPORT_SPL endchoicearch/arm/cpu/arm926ejs/davinci/Kconfig +0
-3@@ -57,9 +57,6 @@ config TARGET_CALIMAIN endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "davinci"arch/arm/cpu/arm926ejs/kirkwood/Kconfig +0
-3@@ -59,9 +59,6 @@ config TARGET_GOFLEXHOME endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "kirkwood"arch/arm/cpu/arm926ejs/nomadik/Kconfig +0
-3@@ -8,9 +8,6 @@ config NOMADIK_NHK8815 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "nomadik"arch/arm/cpu/arm926ejs/orion5x/Kconfig +0
-3@@ -8,9 +8,6 @@ config TARGET_EDMINIV2 endchoice -config SYS_CPU - default "arm926ejs" - config SYS_SOC default "orion5x"arch/arm/cpu/arm926ejs/versatile/Kconfig +0
-3@@ -1,8 +1,5 @@ if ARCH_VERSATILE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "versatile"arch/arm/cpu/armv7/exynos/Kconfig +0
-3@@ -51,9 +51,6 @@ config TARGET_PEACH_PIT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "exynos"arch/arm/cpu/armv7/highbank/Kconfig +0
-3@@ -1,8 +1,5 @@ if ARCH_HIGHBANK -config SYS_CPU - default "armv7" - config SYS_BOARD default "highbank"arch/arm/cpu/armv7/keystone/Kconfig +0
-3@@ -14,9 +14,6 @@ config TARGET_K2L_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "keystone"arch/arm/cpu/armv7/omap3/Kconfig +0
-3@@ -90,9 +90,6 @@ config TARGET_TWISTER endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap3"arch/arm/cpu/armv7/omap4/Kconfig +0
-3@@ -14,9 +14,6 @@ config TARGET_OMAP4_SDP4430 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap4"arch/arm/cpu/armv7/omap5/Kconfig +0
-3@@ -14,9 +14,6 @@ config TARGET_DRA7XX_EVM endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "omap5"arch/arm/cpu/armv7/rmobile/Kconfig +0
-3@@ -20,9 +20,6 @@ config TARGET_ALT endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "rmobile"arch/arm/cpu/armv7/s5pc1xx/Kconfig +0
-3@@ -13,9 +13,6 @@ config TARGET_SMDKC100 endchoice -config SYS_CPU - default "armv7" - config SYS_SOC default "s5pc1xx"arch/arm/cpu/armv7/uniphier/Kconfig +0
-6@@ -1,16 +1,10 @@ menu "Panasonic UniPhier platform" depends on ARCH_UNIPHIER -config SYS_CPU - string - default "armv7" - config SYS_SOC - string default "uniphier" config SYS_CONFIG_NAME - string default "ph1_pro4" if MACH_PH1_PRO4 default "ph1_ld4" if MACH_PH1_LD4 default "ph1_sld8" if MACH_PH1_SLD8arch/arm/cpu/armv7/zynq/Kconfig +0
-3@@ -17,9 +17,6 @@ config TARGET_ZYNQ_ZC770 endchoice -config SYS_CPU - default "armv7" - config SYS_BOARD default "zynq"board/BuR/kwb/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_KWB -config SYS_CPU - default "armv7" - config SYS_BOARD default "kwb"board/BuR/tseries/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TSERIES -config SYS_CPU - default "armv7" - config SYS_BOARD default "tseries"board/BuS/eb_cpux9k2/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_EB_CPUX9K2 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "eb_cpux9k2"board/BuS/vl_ma2sc/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_VL_MA2SC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "vl_ma2sc"board/CarMediaLab/flea3/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_FLEA3 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "flea3"board/Marvell/aspenite/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_ASPENITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "aspenite"board/Marvell/dkb/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_DKB -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "dkb"board/Marvell/gplugd/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_GPLUGD -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "gplugd"board/afeb9260/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AFEB9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "afeb9260"board/altera/socfpga/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SOCFPGA_CYCLONE5 -config SYS_CPU - default "armv7" - config SYS_BOARD default "socfpga"board/aristainetos/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_ARISTAINETOS -config SYS_CPU - default "armv7" - config SYS_BOARD default "aristainetos"board/armadeus/apf27/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_APF27 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apf27"board/armltd/integrator/Kconfig +0
-24@@ -1,8 +1,5 @@ if TARGET_INTEGRATORAP_CM720T -config SYS_CPU - default "arm720t" - config SYS_BOARD default "integrator"@@ -16,9 +13,6 @@ endif if TARGET_INTEGRATORAP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"@@ -32,9 +26,6 @@ endif if TARGET_INTEGRATORCP_CM920T -config SYS_CPU - default "arm920t" - config SYS_BOARD default "integrator"@@ -48,9 +39,6 @@ endif if TARGET_INTEGRATORAP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"@@ -64,9 +52,6 @@ endif if TARGET_INTEGRATORCP_CM926EJS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "integrator"@@ -80,9 +65,6 @@ endif if TARGET_INTEGRATORCP_CM1136 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "integrator"@@ -96,9 +78,6 @@ endif if TARGET_INTEGRATORAP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"@@ -112,9 +91,6 @@ endif if TARGET_INTEGRATORCP_CM946ES -config SYS_CPU - default "arm946es" - config SYS_BOARD default "integrator"board/armltd/vexpress/Kconfig +0
-9@@ -1,8 +1,5 @@ if TARGET_VEXPRESS_CA15_TC2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"@@ -16,9 +13,6 @@ endif if TARGET_VEXPRESS_CA5X2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"@@ -32,9 +26,6 @@ endif if TARGET_VEXPRESS_CA9X4 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vexpress"board/atmel/at91rm9200ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91RM9200EK -config SYS_CPU - default "arm920t" - config SYS_BOARD default "at91rm9200ek"board/atmel/at91sam9260ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9260EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9260ek"board/atmel/at91sam9261ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9261EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9261ek"board/atmel/at91sam9263ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9263EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9263ek"board/atmel/at91sam9m10g45ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9M10G45EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9m10g45ek"board/atmel/at91sam9n12ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9N12EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9n12ek"board/atmel/at91sam9rlek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9RLEK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9rlek"board/atmel/at91sam9x5ek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AT91SAM9X5EK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "at91sam9x5ek"board/atmel/sama5d3_xplained/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SAMA5D3_XPLAINED -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3_xplained"board/atmel/sama5d3xek/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SAMA5D3XEK -config SYS_CPU - default "armv7" - config SYS_BOARD default "sama5d3xek"board/bachmann/ot1200/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_OT1200 -config SYS_CPU - default "armv7" - config SYS_BOARD default "ot1200"board/balloon3/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_BALLOON3 -config SYS_CPU - default "pxa" - config SYS_BOARD default "balloon3"board/barco/titanium/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TITANIUM -config SYS_CPU - default "armv7" - config SYS_BOARD default "titanium"board/bluegiga/apx4devkit/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_APX4DEVKIT -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "apx4devkit"board/bluewater/snapper9260/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SNAPPER9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "snapper9260"board/boundary/nitrogen6x/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_NITROGEN6X -config SYS_CPU - default "armv7" - config SYS_BOARD default "nitrogen6x"board/broadcom/bcm28155_ap/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_BCM28155_AP -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm28155_ap"board/broadcom/bcm958300k/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_BCM958300K -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"board/broadcom/bcm958622hr/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_BCM958622HR -config SYS_CPU - default "armv7" - config SYS_BOARD default "bcm_ep"board/calao/sbc35_a9g20/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SBC35_A9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sbc35_a9g20"board/calao/tny_a9260/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TNY_A9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tny_a9260"board/calao/usb_a9263/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_USB_A9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "usb_a9263"board/cirrus/edb93xx/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_EDB93XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "edb93xx"board/cm4008/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CM4008 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm4008"board/cm41xx/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CM41XX -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cm41xx"board/compulab/cm_fx6/Kconfig +0
-8@@ -1,23 +1,15 @@ if TARGET_CM_FX6 -config SYS_CPU - string - default "armv7" - config SYS_BOARD - string default "cm_fx6" config SYS_VENDOR - string default "compulab" config SYS_SOC - string default "mx6" config SYS_CONFIG_NAME - string default "cm_fx6" endifboard/compulab/cm_t335/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CM_T335 -config SYS_CPU - default "armv7" - config SYS_BOARD default "cm_t335"board/congatec/cgtqmx6eval/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CGTQMX6EVAL -config SYS_CPU - default "armv7" - config SYS_BOARD default "cgtqmx6eval"board/creative/xfi3/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_XFI3 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "xfi3"board/davedenx/qong/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_QONG -config SYS_CPU - default "arm1136" - config SYS_BOARD default "qong"board/denx/m28evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_M28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "m28evk"board/denx/m53evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_M53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "m53evk"board/egnite/ethernut5/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_ETHERNUT5 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "ethernut5"board/embest/mx6boards/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_EMBESTMX6BOARDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6boards"board/emk/top9000/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TOP9000 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "top9000"board/esd/meesc/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MEESC -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "meesc"board/esd/otc570/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_OTC570 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "otc570"board/esg/ima3-mx53/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_IMA3_MX53 -config SYS_CPU - default "armv7" - config SYS_BOARD default "ima3-mx53"board/eukrea/cpu9260/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CPU9260 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "cpu9260"board/eukrea/cpuat91/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CPUAT91 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "cpuat91"board/faraday/a320evb/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_A320EVB -config SYS_CPU - default "arm920t" - config SYS_BOARD default "a320evb"board/freescale/ls1021aqds/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_LS1021AQDS -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021aqds"board/freescale/ls1021atwr/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_LS1021ATWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "ls1021atwr"board/freescale/mx23evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX23EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23evk"board/freescale/mx25pdk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX25PDK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx25pdk"board/freescale/mx28evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX28EVK -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx28evk"board/freescale/mx31ads/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX31ADS -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31ads"board/freescale/mx31pdk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX31PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx31pdk"board/freescale/mx35pdk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX35PDK -config SYS_CPU - default "arm1136" - config SYS_BOARD default "mx35pdk"board/freescale/mx51evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX51EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51evk"board/freescale/mx53ard/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX53ARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53ard"board/freescale/mx53evk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX53EVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53evk"board/freescale/mx53loco/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX53LOCO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53loco"board/freescale/mx53smd/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX53SMD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx53smd"board/freescale/mx6qarm2/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX6QARM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qarm2"board/freescale/mx6qsabreauto/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX6QSABREAUTO -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6qsabreauto"board/freescale/mx6sabresd/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX6SABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sabresd"board/freescale/mx6slevk/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX6SLEVK -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6slevk"board/freescale/mx6sxsabresd/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX6SXSABRESD -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx6sxsabresd"board/freescale/vf610twr/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_VF610TWR -config SYS_CPU - default "armv7" - config SYS_BOARD default "vf610twr"board/gateworks/gw_ventana/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_GW_VENTANA -config SYS_CPU - default "armv7" - config SYS_BOARD default "gw_ventana"board/genesi/mx51_efikamx/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX51_EFIKAMX -config SYS_CPU - default "armv7" - config SYS_BOARD default "mx51_efikamx"board/gumstix/pepper/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PEPPER -config SYS_CPU - default "armv7" - config SYS_BOARD default "pepper"board/h2200/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_H2200 -config SYS_CPU - default "pxa" - config SYS_BOARD default "h2200"board/hale/tt01/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TT01 -config SYS_CPU - default "arm1136" - config SYS_BOARD default "tt01"board/icpdas/lp8x4x/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_LP8X4X -config SYS_CPU - default "pxa" - config SYS_BOARD default "lp8x4x"board/imx31_phycore/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_IMX31_PHYCORE -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_phycore"board/isee/igep0033/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AM335X_IGEP0033 -config SYS_CPU - default "armv7" - config SYS_BOARD default "igep0033"board/jornada/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_JORNADA -config SYS_CPU - default "sa1100" - config SYS_BOARD default "jornada"board/karo/tx25/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "tx25"board/logicpd/imx27lite/Kconfig +0
-6@@ -1,8 +1,5 @@ if TARGET_IMX27LITE -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"@@ -19,9 +16,6 @@ endif if TARGET_MAGNESIUM -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "imx27lite"board/logicpd/imx31_litekit/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_IMX31_LITEKIT -config SYS_CPU - default "arm1136" - config SYS_BOARD default "imx31_litekit"board/mpl/vcma9/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_VCMA9 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "vcma9"board/olimex/mx23_olinuxino/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_MX23_OLINUXINO -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "mx23_olinuxino"board/palmld/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PALMLD -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmld"board/palmtc/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PALMTC -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtc"board/palmtreo680/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PALMTREO680 -config SYS_CPU - default "pxa" - config SYS_BOARD default "palmtreo680"board/phytec/pcm051/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PCM051 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pcm051"board/ppcag/bg0900/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_BG0900 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "bg0900"board/pxa255_idp/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PXA255_IDP -config SYS_CPU - default "pxa" - config SYS_BOARD default "pxa255_idp"board/raspberrypi/rpi_b/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_RPI_B -config SYS_CPU - default "arm1176" - config SYS_BOARD default "rpi_b"board/ronetix/pm9261/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PM9261 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9261"board/ronetix/pm9263/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PM9263 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9263"board/ronetix/pm9g45/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PM9G45 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "pm9g45"board/samsung/goni/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_S5P_GONI -config SYS_CPU - default "armv7" - config SYS_BOARD default "goni"board/samsung/smdk2410/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SMDK2410 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "smdk2410"board/samsung/smdkc100/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SMDKC100 -config SYS_CPU - default "armv7" - config SYS_BOARD default "smdkc100"board/sandisk/sansa_fuze_plus/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SANSA_FUZE_PLUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sansa_fuze_plus"board/scb9328/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SCB9328 -config SYS_CPU - default "arm920t" - config SYS_BOARD default "scb9328"board/schulercontrol/sc_sps_1/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SC_SPS_1 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "sc_sps_1"board/siemens/corvus/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_CORVUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "corvus"board/siemens/draco/Kconfig +0
-6@@ -1,8 +1,5 @@ if TARGET_DRACO -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"@@ -19,9 +16,6 @@ endif if TARGET_DXR2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "draco"board/siemens/pxm2/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PXM2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "pxm2"board/siemens/rut/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_RUT -config SYS_CPU - default "armv7" - config SYS_BOARD default "rut"board/siemens/taurus/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TAURUS -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "taurus"board/silica/pengwyn/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_PENGWYN -config SYS_CPU - default "armv7" - config SYS_BOARD default "pengwyn"board/solidrun/hummingboard/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_HUMMINGBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "hummingboard"board/spear/spear300/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SPEAR300 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear300"board/spear/spear310/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SPEAR310 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear310"board/spear/spear320/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SPEAR320 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear320"board/spear/spear600/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SPEAR600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "spear600"board/spear/x600/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_X600 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "x600"board/st-ericsson/snowball/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_SNOWBALL -config SYS_CPU - default "armv7" - config SYS_BOARD default "snowball"board/st-ericsson/u8500/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_U8500_HREF -config SYS_CPU - default "armv7" - config SYS_BOARD default "u8500"board/sunxi/Kconfig +0
-3@@ -8,9 +8,6 @@ config SYS_CONFIG_NAME default "sun7i" if TARGET_SUN7I default "sun8i" if TARGET_SUN8I -config SYS_CPU - default "armv7" - config SYS_BOARD default "sunxi"board/syteco/jadecpu/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_JADECPU -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "jadecpu"board/syteco/zmx25/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_ZMX25 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "zmx25"board/taskit/stamp9g20/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_STAMP9G20 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "stamp9g20"board/ti/am335x/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AM335X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am335x"board/ti/am43xx/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_AM43XX_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "am43xx"board/ti/ti814x/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TI814X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti814x"board/ti/ti816x/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TI816X_EVM -config SYS_CPU - default "armv7" - config SYS_BOARD default "ti816x"board/ti/tnetv107xevm/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TNETV107X_EVM -config SYS_CPU - default "arm1176" - config SYS_BOARD default "tnetv107xevm"board/timll/devkit3250/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_DEVKIT3250 -config SYS_CPU - default "arm926ejs" - config SYS_BOARD default "devkit3250"board/toradex/colibri_pxa270/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_COLIBRI_PXA270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "colibri_pxa270"board/tqc/tqma6/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TQMA6 -config SYS_CPU - default "armv7" - config SYS_BOARD default "tqma6"board/trizepsiv/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_TRIZEPSIV -config SYS_CPU - default "pxa" - config SYS_BOARD default "trizepsiv"board/ttcontrol/vision2/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_VISION2 -config SYS_CPU - default "armv7" - config SYS_BOARD default "vision2"board/udoo/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_UDOO -config SYS_CPU - default "armv7" - config SYS_BOARD default "udoo"board/vpac270/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_VPAC270 -config SYS_CPU - default "pxa" - config SYS_BOARD default "vpac270"board/wandboard/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_WANDBOARD -config SYS_CPU - default "armv7" - config SYS_BOARD default "wandboard"board/woodburn/Kconfig +0
-6@@ -1,8 +1,5 @@ if TARGET_WOODBURN -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"@@ -16,9 +13,6 @@ endif if TARGET_WOODBURN_SD -config SYS_CPU - default "arm1136" - config SYS_BOARD default "woodburn"board/xaeniax/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_XAENIAX -config SYS_CPU - default "pxa" - config SYS_BOARD default "xaeniax"board/zipitz2/Kconfig +0
-3@@ -1,8 +1,5 @@ if TARGET_ZIPITZ2 -config SYS_CPU - default "pxa" - config SYS_BOARD default "zipitz2"common/lcd.c +0
-1@@ -33,7 +33,6 @@#if defined(CONFIG_CPU_PXA25X ) || defined(CONFIG_CPU_PXA27X ) || \ defined(CONFIG_CPU_MONAHANS ) -#define CONFIG_CPU_PXA #include <asm/byteorder.h> #endif Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v4 1/4 kconfig: arm: introduce symbol for ARM CPUs
In reply to Georges SavoundararadjQuoted 6 lines · Georges Savoundararadj
This commit introduces a
Kconfigsymbol for each ARM CPU:CPU_ARM720T,CPU_ARM920T,CPU_ARM926EJS,CPU_ARM946ES,CPU_ARM1136,CPU_ARM1176,CPU_V7,CPU_PXA,CPU_SA1100.
Also, it adds the CPU featureKconfigsymbolHAS_VBARwhich is selected forCPU_ARM1176andCPU_V7.
Quoted 9 lines
For each target, the corresponding CPU is selected and the definition of
SYS_CPUin the correspondingKconfigfile is removed.Also, it removes redundant "string" type in some
Kconfigfiles.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Masahiro Yamada <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141029/51737e8f/attachment.pgp>
PATCH v4 2/4 arm: make .vectors section allocatable
In reply to Georges SavoundararadjA regression was introduced in commit 41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction, _software_interrupt, _prefetch_abort, _data_abort, _not_used, _irq and _fiq.
Before commit 41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].
In commit 41623c91, a specific section is created, called .vectors, with the attribute executable only.
What have changed between commit 41623c91^ and 41623c91 is the attribute of the section which contains the exception vectors.
An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOC or "a") for the definition of the section .vectors fixed the issue.
To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
---
Changes in v4:
- Add Acked-by from Albert
Changes in v3:
- None
Changes in v2:
- Reword the commit message
arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/vectors.S +1 -1
@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************
Signature · 1 line
2.1.2
PATCH v4 2/4 arm: make .vectors section allocatable
Hello Georges,
Quoted 58 lines · Georges Savoundararadj
A regression was introduced in commit
41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction,_software_interrupt,_prefetch_abort,_data_abort,_not_used,_irqand_fiq.Before commit
41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].In commit
41623c91, a specific section is created, called .vectors, with the attribute executable only.What have changed between commit 41623c91^ and
41623c91is the attribute of the section which contains the exception vectors.
An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOCor "a") for the definition of the section .vectors fixed the issue.To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
[1] http://man7.org/linux/man-pages/man5/elf.5.html
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribeau <[email protected]>Acked-by Albert ARIBEAU <[email protected]>---
Changes in v4:
- Add Acked-by from AlbertChanges in v3:
- NoneChanges in v2:
- Reword the commit messagearch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/lib/vectors.S +1
-1@@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* *************************************************************************Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v4 2/4 arm: make .vectors section allocatable
In reply to Georges SavoundararadjQuoted 22 lines · Georges Savoundararadj
A regression was introduced in commit
41623c91. The consequence of that is the non-relocation of the section .vectors symbols :_undefined_instruction,_software_interrupt,_prefetch_abort,_data_abort,_not_used,_irqand_fiq.Before commit
41623c91, the exception vectors were in a .text section. The .text section has the attributes allocatable and executable [1].In commit
41623c91, a specific section is created, called .vectors, with the attribute executable only.What have changed between commit 41623c91^ and
41623c91is the attribute of the section which contains the exception vectors.
An allocatable section is "a section [that] occupies memory during process execution" [1] which is the case of the section .vectors. Adding the lacking attribute (SHF_ALLOCor "a") for the definition of the section .vectors fixed the issue.To summarize, the fix has to mark .vectors as allocatable because the exception vectors reside in "memory during execution" and they need to be relocated.
Quoted 6 lines
[1] http://man7.org/linux/man-pages/man5/elf.5.html
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribeau <[email protected]>Acked-by Albert ARIBEAU <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141029/c872217d/attachment.pgp>
PATCH v4 3/4 arm: relocate the exception vectors
In reply to Georges SavoundararadjThis commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x00000000 or 0xFFFF0000.
---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.
Changes in v4: None
Changes in v3:
- Use the CPU feature HAS_VBAR Kconfig symbol
Changes in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit message
arch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)
arch/arm/cpu/armv7/start.S +0 -6
@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lr
arch/arm/lib/relocate.S +30 -0
@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*
@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop + /* + * Relocate the exception vectors + */ +#ifdef CONFIG_HAS_VBAR + /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */ + ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done: #ifdef __XSCALE__
Signature · 1 line
2.1.2
PATCH v4 3/4 arm: relocate the exception vectors
Hello Georges,
Quoted 95 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>---
This patch needs some tests because it impacts many boards. I have tested it with my raspberry pi in the two cases: using VBAR and using the copied exception vectors.Changes in v4: None
Changes in v3:
- Use the CPU featureHAS_VBARKconfigsymbolChanges in v2:
- Relocate exception vectors also on processors which do not support security extensions
- Reword the commit messagearch/arm/cpu/armv7/start.S | 6 ------ arch/arm/lib/relocate.S | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-)arch/arm/cpu/armv7/start.S +0
-6@@ -81,12 +81,6 @@ ENTRY(c_runtime_cpu_setup) mcr p15, 0, r0, c7, c10, 4 @ DSB mcr p15, 0, r0, c7, c5, 4 @ ISB #endif -/* - * Move vector table - */ - /* Set vector address in CP15 VBAR register */ - ldr r0, =_start - mcr p15, 0, r0, c12, c0, 0 @Set VBAR bx lrarch/arm/lib/relocate.S +30
-0@@ -6,6 +6,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <asm-offsets.h> +#include <config.h> #include <linux/linkage.h> /*@@ -52,6 +54,34 @@ fixnext: cmp r2, r3 blo fixloop + /* + * Relocate the exception vectors + */ +#ifdef CONFIG_HAS_VBAR + /* + * If the ARM processor has the security extensions, + * use VBAR to relocate the exception vectors. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ +#else + /* + * Copy the relocated exception vectors to the + * correct address + * CP15 c1 V bit gives us the location of the vectors: + * 0x00000000 or 0xFFFF0000. + */ + ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ + mrc p15, 0, r2, c1, c0, 0 /* V bit (bit[13]) in CP15 c1 */ + ands r2, r2, #(1 << 13) + ldreq r1, =0x00000000 /* If V=0 */ + ldrne r1, =0xFFFF0000 /* If V=1 */ + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} + ldmia r0!, {r2-r8,r10} + stmia r1!, {r2-r8,r10} +#endif + relocate_done: #ifdef __XSCALE__Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v4 3/4 arm: relocate the exception vectors
In reply to Georges SavoundararadjQuoted 9 lines · Georges Savoundararadj
This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address:0x00000000or0xFFFF0000.Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>Cc Tom Warren <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141029/c679385b/attachment.pgp>
PATCH v4 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
In reply to Georges SavoundararadjBefore this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used.
This commit sets the stack pointers for IRQ and FIQ modes.
---
Changes in v4:
- Restore initial CPSR value after configuring SP in IRQ and FIQ modes
Changes in v3: None
Changes in v2:
- Reword the commit message
arch/arm/lib/interrupts.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
arch/arm/lib/interrupts.c +27 -0
@@ -28,6 +28,8 @@ DECLARE_GLOBAL_DATA_PTR;#ifdef CONFIG_USE_IRQ int interrupt_init (void ) { +unsigned long cpsr; +/* * setup up stacks if necessary */
@@ -35,6 +37,31 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + + __asm__ __volatile__("mrs %0, cpsr\n" + :"=r" (cpsr) + : + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT | (cpsr & ~FIQ_MODE )), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (FIQ_MODE |I_BIT |F_BIT | (cpsr & ~IRQ_MODE )), +"r" (FIQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (cpsr) + :"memory" ); +return arch_interrupt_init (); }
Signature · 1 line
2.1.2
PATCH v4 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
Hello Georges,
Quoted 69 lines · Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes,
IRQ_STACK_STARTandFIQ_STACK_START, were computed ininterrupt_initbut they were not used.This commit sets the stack pointers for IRQ and FIQ modes.
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>---
Changes in v4:
- Restore initial CPSR value after configuring SP in IRQ and FIQ modesChanges in v3: None
Changes in v2:
- Reword the commit messagearch/arm/lib/interrupts.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)arch/arm/lib/interrupts.c +27
-0@@ -28,6 +28,8 @@ DECLARE_GLOBAL_DATA_PTR;#ifdef CONFIG_USE_IRQ int interrupt_init (void ) { +unsigned long cpsr; +/* * setup up stacks if necessary */ @@ -35,6 +37,31 @@ int interrupt_init (void)IRQ_STACK_START_IN = gd->irq_sp +8 ;FIQ_STACK_START =IRQ_STACK_START -CONFIG_STACKSIZE_IRQ ; + + __asm__ __volatile__("mrs %0, cpsr\n" + :"=r" (cpsr) + : + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (IRQ_MODE |I_BIT |F_BIT | (cpsr & ~FIQ_MODE )), +"r" (IRQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0\n" +"mov sp, %1\n" + : + :"r" (FIQ_MODE |I_BIT |F_BIT | (cpsr & ~IRQ_MODE )), +"r" (FIQ_STACK_START ) + :"memory" ); + + __asm__ __volatile__("msr cpsr_c, %0" + : + :"r" (cpsr) + :"memory" ); +return arch_interrupt_init (); }Signature · 1 line
2.1.2
Amicalement,
Signature · 1 line
Albert.
PATCH v4 4/4 arm: interrupt_init: set sp in IRQ/FIQ modes
In reply to Georges SavoundararadjQuoted 9 lines · Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes,
IRQ_STACK_STARTandFIQ_STACK_START, were computed ininterrupt_initbut they were not used.This commit sets the stack pointers for IRQ and FIQ modes.
Signed-off-by Georges Savoundararadj <[email protected]>Cc Albert Aribaud <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141029/b215c23d/attachment.pgp>