Browse Source

ppc: add more cpu variants

Waldemar Brodkorb 7 years ago
parent
commit
3d1c1cadf1
1 changed files with 29 additions and 1 deletions
  1. 29 1
      target/config/Config.in.cpu

+ 29 - 1
target/config/Config.in.cpu

@@ -1030,7 +1030,31 @@ config ADK_TARGET_CPU_PPC
 	depends on ADK_TARGET_ARCH_PPC
 
 config ADK_TARGET_CPU_PPC_440
-	bool "ppc400"
+	bool "440"
+	select ADK_TARGET_SUPPORTS_THREADS
+	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_NPTL
+	select ADK_TARGET_WITH_MMU
+	depends on ADK_TARGET_ARCH_PPC
+
+config ADK_TARGET_CPU_PPC_740
+	bool "740"
+	select ADK_TARGET_SUPPORTS_THREADS
+	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_NPTL
+	select ADK_TARGET_WITH_MMU
+	depends on ADK_TARGET_ARCH_PPC
+
+config ADK_TARGET_CPU_PPC_7400
+	bool "7400"
+	select ADK_TARGET_SUPPORTS_THREADS
+	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_NPTL
+	select ADK_TARGET_WITH_MMU
+	depends on ADK_TARGET_ARCH_PPC
+
+config ADK_TARGET_CPU_PPC_970
+	bool "970"
 	select ADK_TARGET_SUPPORTS_THREADS
 	select ADK_TARGET_SUPPORTS_LT
 	select ADK_TARGET_SUPPORTS_NPTL
@@ -1879,6 +1903,10 @@ config ADK_TARGET_GCC_CPU
 	default "ultrasparc" if ADK_TARGET_CPU_SPARC64_V9
 	default "v8" if ADK_TARGET_CPU_SPARC_V8
 	default "xscale" if ADK_TARGET_CPU_ARM_XSCALE
+	default "440" if ADK_TARGET_CPU_PPC_440
+	default "740" if ADK_TARGET_CPU_PPC_740
+	default "7400" if ADK_TARGET_CPU_PPC_7400
+	default "970" if ADK_TARGET_CPU_PPC_970
 
 # for gcc --with-arch
 config ADK_TARGET_GCC_ARCH