summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 21:06:39 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 21:06:39 +0200
commit2e1c9812e8d20faf1308a788dc66ae20c66346f0 (patch)
tree4400238ac0fcc49b83c2d16d34c9e0b1909e27dc /target/config
parent785d22575dd6db82cb2e14df12ddaadf980c4639 (diff)
add new CPU types for ARM/AARCH64
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu20
-rw-r--r--target/config/Config.in.tc26
2 files changed, 46 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 9b2b2ab72..cade126d3 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -116,6 +116,13 @@ config ADK_CPU_CORTEX_A15
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
+config ADK_CPU_CORTEX_A17
+ bool
+ select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_CPU_WITH_FPU_VFPV4
+ select ADK_TARGET_CPU_WITH_NEON
+
config ADK_CPU_CORTEX_A53
bool
select ADK_LINUX_64
@@ -341,6 +348,7 @@ config ADK_TARGET_GCC_CPU
default "cortex-a8" if ADK_CPU_CORTEX_A8
default "cortex-a9" if ADK_CPU_CORTEX_A9
default "cortex-a15" if ADK_CPU_CORTEX_A15
+ default "cortex-a17" if ADK_CPU_CORTEX_A17
default "cortex-a53" if ADK_CPU_CORTEX_A53
default "cortex-a57" if ADK_CPU_CORTEX_A57
default "cortex-m3" if ADK_CPU_CORTEX_M3
@@ -378,6 +386,18 @@ config ADK_TARGET_CPU_TYPE
string
default "arc700" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC700
default "archs" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC_HS
+ default "cortex_a5" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A5
+ default "cortex_a7" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A7
+ default "cortex_a8" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A8
+ default "cortex_a9" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A9
+ default "cortex_a15" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A15
+ default "cortex_a17" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A17
+ default "cortex_m3" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_M3
+ default "cortex_m4" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_M4
+ default "arm1176jzf_s" if ADK_TARGET_ARCH_ARM && ADK_CPU_ARM1176JZF_S
+ default "arm926ej_s" if ADK_TARGET_ARCH_ARM && ADK_CPU_ARM926EJ_S
+ default "cortex_a53" if ADK_TARGET_ARCH_AARCH64 && ADK_CPU_CORTEX_A53
+ default "cortex_a57" if ADK_TARGET_ARCH_AARCH64 && ADK_CPU_CORTEX_A57
config ADK_TARGET_CPU_ARCH
string
diff --git a/target/config/Config.in.tc b/target/config/Config.in.tc
index 5e3805100..0777282e9 100644
--- a/target/config/Config.in.tc
+++ b/target/config/Config.in.tc
@@ -5,6 +5,7 @@ choice ADK_TARGET_CPU
prompt "CPU type"
depends on ADK_TARGET_TOOLCHAIN && \
( ADK_TARGET_ARCH_CRIS \
+ || ADK_TARGET_ARCH_AARCH64 \
|| ADK_TARGET_ARCH_ARC \
|| ADK_TARGET_ARCH_ARM \
|| ADK_TARGET_ARCH_X86 )
@@ -19,6 +20,16 @@ config ADK_TARGET_CPU_ARC_ARC_HS
select ADK_CPU_ARC_HS
depends on ADK_TARGET_ARCH_ARC
+config ADK_TARGET_CPU_ARM_CORTEX_A53
+ bool "cortex-a53"
+ select ADK_CPU_CORTEX_A53
+ depends on ADK_TARGET_ARCH_AARCH64
+
+config ADK_TARGET_CPU_ARM_CORTEX_A57
+ bool "cortex-a57"
+ select ADK_CPU_CORTEX_A57
+ depends on ADK_TARGET_ARCH_AARCH64
+
config ADK_TARGET_CPU_ARM_CORTEX_A9
bool "cortex-a9"
select ADK_CPU_CORTEX_A9
@@ -34,6 +45,21 @@ config ADK_TARGET_CPU_ARM_CORTEX_A7
select ADK_CPU_CORTEX_A7
depends on ADK_TARGET_ARCH_ARM
+config ADK_TARGET_CPU_ARM_CORTEX_A5
+ bool "cortex-a5"
+ select ADK_CPU_CORTEX_A5
+ depends on ADK_TARGET_ARCH_ARM
+
+config ADK_TARGET_CPU_ARM_CORTEX_A15
+ bool "cortex-a15"
+ select ADK_CPU_CORTEX_A15
+ depends on ADK_TARGET_ARCH_ARM
+
+config ADK_TARGET_CPU_ARM_CORTEX_A17
+ bool "cortex-a17"
+ select ADK_CPU_CORTEX_A17
+ depends on ADK_TARGET_ARCH_ARM
+
config ADK_TARGET_CPU_ARM_CORTEX_M4
bool "cortex-m4"
select ADK_CPU_CORTEX_M4