summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-26 20:12:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-26 20:13:55 +0200
commit8f278d7fefb08330d676c69de9ce51e838e711a0 (patch)
tree7b8151ec083345e640cf50cddd5086ff52730f46 /target
parentbae8d223c360c66af0e164b993b0ea39939fbc8b (diff)
alpha: add fine granular CPU selection
Diffstat (limited to 'target')
-rw-r--r--target/alpha/systems/dec-multia2
-rw-r--r--target/alpha/systems/qemu-alpha2
-rw-r--r--target/config/Config.in.cpu35
3 files changed, 35 insertions, 4 deletions
diff --git a/target/alpha/systems/dec-multia b/target/alpha/systems/dec-multia
index ccaec574d..f92a55448 100644
--- a/target/alpha/systems/dec-multia
+++ b/target/alpha/systems/dec-multia
@@ -1,6 +1,6 @@
config ADK_TARGET_SYSTEM_DEC_MULTIA
bool "Digital Multia"
- select ADK_TARGET_CPU_ALPHA
+ select ADK_TARGET_CPU_ALPHA_EV4
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
Support for DEC Multia. See:
diff --git a/target/alpha/systems/qemu-alpha b/target/alpha/systems/qemu-alpha
index 59bdbc9f0..76746d069 100644
--- a/target/alpha/systems/qemu-alpha
+++ b/target/alpha/systems/qemu-alpha
@@ -1,6 +1,6 @@
config ADK_TARGET_SYSTEM_QEMU_ALPHA
bool "Qemu Emulator"
- select ADK_TARGET_CPU_ALPHA
+ select ADK_TARGET_CPU_ALPHA_EV67
select ADK_TARGET_QEMU
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 071d6f56c..f2ba76872 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -22,13 +22,40 @@ config ADK_TARGET_CPU_AARCH64_CORTEX_A57
depends on ADK_TARGET_ARCH_AARCH64
# alpha
-config ADK_TARGET_CPU_ALPHA
- bool "alpha"
+config ADK_TARGET_CPU_ALPHA_EV4
+ bool "ev4"
select ADK_LINUX_64
select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_WITH_MMU
select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
+ depends on ADK_TARGET_ARCH_ALPHA
+
+config ADK_TARGET_CPU_ALPHA_EV5
+ bool "ev5"
+ select ADK_LINUX_64
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
+ depends on ADK_TARGET_ARCH_ALPHA
+
+config ADK_TARGET_CPU_ALPHA_EV6
+ bool "ev6"
+ select ADK_LINUX_64
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
+ depends on ADK_TARGET_ARCH_ALPHA
+
+config ADK_TARGET_CPU_ALPHA_EV67
+ bool "ev67"
+ select ADK_LINUX_64
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_ALPHA
# arc
@@ -1797,6 +1824,10 @@ config ADK_TARGET_GCC_CPU
default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
default "cortex-m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
+ default "ev4" if ADK_TARGET_CPU_ALPHA_EV4
+ default "ev5" if ADK_TARGET_CPU_ALPHA_EV5
+ default "ev6" if ADK_TARGET_CPU_ALPHA_EV6
+ default "ev67" if ADK_TARGET_CPU_ALPHA_EV67
default "leon" if ADK_TARGET_CPU_SPARC_LEON
default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
default "n13" if ADK_TARGET_CPU_NDS32