Skip to content

Commit 88cf3bb

Browse files
bthebaudeaujacmet
authored andcommitted
arch/Config.in.arm: Use armv6k for arm1136jf-s rev1
According to the ARM1136JF-S and ARM1136J-S Revision r1p5 Technical Reference Manual, from release rev1 (r1pn), the ARM1136JF-S processor implements the ARMv6 instruction set with the ARMv6k additions. This patch differentiates the ARM1136JF-S revisions 0 and 1 in order to use either ARMv6j (e.g. on Freescale i.MX31) or ARMv6k (e.g. on Freescale i.MX35). Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
1 parent 82e39a2 commit 88cf3bb

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

arch/Config.in.arm

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ config BR2_arm926t
3131
bool "arm926t"
3232
config BR2_arm10t
3333
bool "arm10t"
34-
config BR2_arm1136jf_s
35-
bool "arm1136jf_s"
34+
config BR2_arm1136jf_s_r0
35+
bool "arm1136jf_s rev0"
36+
config BR2_arm1136jf_s_r1
37+
bool "arm1136jf_s rev1"
3638
config BR2_arm1176jz_s
3739
bool "arm1176jz-s"
3840
config BR2_arm1176jzf_s
@@ -59,6 +61,10 @@ config BR2_iwmmxt
5961
bool "iwmmxt"
6062
endchoice
6163

64+
config BR2_arm1136jf_s
65+
bool
66+
default BR2_arm1136jf_s_r0 || BR2_arm1136jf_s_r1
67+
6268
choice
6369
prompt "Target ABI"
6470
depends on BR2_arm || BR2_armeb
@@ -126,7 +132,8 @@ config BR2_GCC_TARGET_ARCH
126132
default "armv4t" if BR2_arm922t
127133
default "armv5te" if BR2_arm926t
128134
default "armv5t" if BR2_arm10t
129-
default "armv6j" if BR2_arm1136jf_s
135+
default "armv6j" if BR2_arm1136jf_s_r0
136+
default "armv6k" if BR2_arm1136jf_s_r1
130137
default "armv6zk" if BR2_arm1176jz_s
131138
default "armv6zk" if BR2_arm1176jzf_s
132139
default "armv7-a" if BR2_cortex_a5

0 commit comments

Comments
 (0)