Commit 66cba041fe8fe4cdc3d8252974021257e736572a
1 parent
5894ca007d
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 5 changed files with 61 additions and 0 deletions Side-by-side Diff
arch/arm/Kconfig
... | ... | @@ -521,6 +521,9 @@ |
521 | 521 | config TARGET_JORNADA |
522 | 522 | bool "Support jornada" |
523 | 523 | |
524 | +config ARCH_UNIPHIER | |
525 | + bool "Panasonic UniPhier platform" | |
526 | + | |
524 | 527 | endchoice |
525 | 528 | |
526 | 529 | source "arch/arm/cpu/armv8/Kconfig" |
... | ... | @@ -548,6 +551,8 @@ |
548 | 551 | source "arch/arm/cpu/armv7/rmobile/Kconfig" |
549 | 552 | |
550 | 553 | source "arch/arm/cpu/armv7/tegra-common/Kconfig" |
554 | + | |
555 | +source "arch/arm/cpu/armv7/uniphier/Kconfig" | |
551 | 556 | |
552 | 557 | source "arch/arm/cpu/arm926ejs/versatile/Kconfig" |
553 | 558 |
arch/arm/cpu/armv7/uniphier/Kconfig
1 | +menu "Panasonic UniPhier platform" | |
2 | + depends on ARCH_UNIPHIER | |
3 | + | |
4 | +config SYS_CPU | |
5 | + string | |
6 | + default "armv7" | |
7 | + | |
8 | +config SYS_SOC | |
9 | + string | |
10 | + default "uniphier" | |
11 | + | |
12 | +config SYS_CONFIG_NAME | |
13 | + string | |
14 | + default "ph1_pro4" if MACH_PH1_PRO4 | |
15 | + default "ph1_ld4" if MACH_PH1_LD4 | |
16 | + default "ph1_sld8" if MACH_PH1_SLD8 | |
17 | + | |
18 | +choice | |
19 | + prompt "UniPhier SoC select" | |
20 | + | |
21 | +config MACH_PH1_PRO4 | |
22 | + bool "PH1-Pro4" | |
23 | + | |
24 | +config MACH_PH1_LD4 | |
25 | + bool "PH1-LD4" | |
26 | + | |
27 | +config MACH_PH1_SLD8 | |
28 | + bool "PH1-sLD8" | |
29 | + | |
30 | +endchoice | |
31 | + | |
32 | +endmenu |
configs/ph1_ld4_defconfig
configs/ph1_pro4_defconfig
configs/ph1_sld8_defconfig