diff options
-rw-r--r-- | target/config/Config.in.cpu | 27 | ||||
-rw-r--r-- | target/config/Config.in.tc | 16 | ||||
-rw-r--r-- | target/ppc64/systems/toolchain-ppc64 | 3 |
3 files changed, 40 insertions, 6 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index e162172e7..ec8eab23f 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -900,6 +900,24 @@ config ADK_CPU_PPC_440 select ADK_TARGET_WITH_NPTL select ADK_TARGET_WITH_MMU +config ADK_CPU_POWER6 + bool + select ADK_LINUX_64 + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + +config ADK_CPU_POWER7 + bool + select ADK_LINUX_64 + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + +config ADK_CPU_POWER8 + bool + select ADK_LINUX_64 + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + config ADK_CPU_PPC64 bool select ADK_LINUX_64 @@ -1139,6 +1157,8 @@ config ADK_TARGET_GCC_CPU default "cortex-m4" if ADK_CPU_CORTEX_M4 default "mpcore" if ADK_CPU_ARM11MPCORE default "powerpc" if ADK_CPU_PPC + default "power7" if ADK_CPU_POWER7 + default "power8" if ADK_CPU_POWER8 default "ultrasparc" if ADK_CPU_SPARC_V9 default "v8" if ADK_CPU_SPARC_V8 default "leon" if ADK_CPU_SPARC_LEON @@ -1346,10 +1366,9 @@ config ADK_TARGET_CPU_ARCH default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN default "nios2" if ADK_TARGET_ARCH_NIOS2 default "or1k" if ADK_TARGET_ARCH_OR1K - default "ppc" if ADK_CPU_PPC - default "ppc" if ADK_CPU_PPC_440 - default "ppc64le" if ADK_CPU_PPC64 && ADK_TARGET_LITTLE_ENDIAN - default "ppc64" if ADK_CPU_PPC64 && ADK_TARGET_BIG_ENDIAN + default "ppc" if ADK_TARGET_ARCH_PPC + default "ppc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN + default "ppc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN default "s390x" if ADK_TARGET_ARCH_S390 default "sh2" if ADK_CPU_SH2 && ADK_TARGET_LITTLE_ENDIAN default "sh2eb" if ADK_CPU_SH2 && ADK_TARGET_BIG_ENDIAN diff --git a/target/config/Config.in.tc b/target/config/Config.in.tc index 3975c99f9..26e0aa1f7 100644 --- a/target/config/Config.in.tc +++ b/target/config/Config.in.tc @@ -12,6 +12,7 @@ depends on (ADK_TARGET_TOOLCHAIN || ADK_TARGET_SIM || ADK_TARGET_SYSTEM_GENERIC_ || ADK_TARGET_ARCH_M68K \ || ADK_TARGET_ARCH_MIPS \ || ADK_TARGET_ARCH_MIPS64 \ + || ADK_TARGET_ARCH_PPC64 \ || ADK_TARGET_ARCH_SH \ || ADK_TARGET_ARCH_SPARC \ || ADK_TARGET_ARCH_X86 \ @@ -449,6 +450,21 @@ config ADK_TARGET_CPU_MIPS_MIPS64R6 select ADK_CPU_MIPS64R6 depends on ADK_TARGET_ARCH_MIPS64 +config ADK_TARGET_CPU_PPC64_POWER6 + bool "power6" + select ADK_CPU_POWER6 + depends on ADK_TARGET_ARCH_PPC64 + +config ADK_TARGET_CPU_PPC64_POWER7 + bool "power7" + select ADK_CPU_POWER7 + depends on ADK_TARGET_ARCH_PPC64 + +config ADK_TARGET_CPU_PPC64_POWER8 + bool "power8" + select ADK_CPU_POWER8 + depends on ADK_TARGET_ARCH_PPC64 + config ADK_TARGET_CPU_SH_SH2 bool "sh2" select ADK_CPU_SH2 diff --git a/target/ppc64/systems/toolchain-ppc64 b/target/ppc64/systems/toolchain-ppc64 index 389c71007..78e30ef31 100644 --- a/target/ppc64/systems/toolchain-ppc64 +++ b/target/ppc64/systems/toolchain-ppc64 @@ -1,7 +1,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_PPC64 bool "Toolchain only" - select ADK_CPU_PPC64 - select ADK_TAGET_TOOLCHAIN + select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help PPC64 toolchain. |