summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/uniphier
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-03 19:21:07 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-05 14:10:09 +0900
commit66cba041fe8fe4cdc3d8252974021257e736572a (patch)
treea631ce0b5c2ad5126b352185fa94df61298a15ba /arch/arm/cpu/armv7/uniphier
parent5894ca007d217a2fa845facfbb62c6512396a145 (diff)
ARM: UniPhier: add Kconfig and defconfig
This commit allows to build Panasonic UniPhier family: PH1-LD4, PH1-Pro4, PH1-sLD8 Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier')
-rw-r--r--arch/arm/cpu/armv7/uniphier/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/Kconfig b/arch/arm/cpu/armv7/uniphier/Kconfig
new file mode 100644
index 0000000000..34f5496c8c
--- /dev/null
+++ b/arch/arm/cpu/armv7/uniphier/Kconfig
@@ -0,0 +1,32 @@
+menu "Panasonic UniPhier platform"
+ depends on ARCH_UNIPHIER
+
+config SYS_CPU
+ string
+ default "armv7"
+
+config SYS_SOC
+ string
+ default "uniphier"
+
+config SYS_CONFIG_NAME
+ string
+ default "ph1_pro4" if MACH_PH1_PRO4
+ default "ph1_ld4" if MACH_PH1_LD4
+ default "ph1_sld8" if MACH_PH1_SLD8
+
+choice
+ prompt "UniPhier SoC select"
+
+config MACH_PH1_PRO4
+ bool "PH1-Pro4"
+
+config MACH_PH1_LD4
+ bool "PH1-LD4"
+
+config MACH_PH1_SLD8
+ bool "PH1-sLD8"
+
+endchoice
+
+endmenu