aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2014-12-23 22:09:57 -0500
committerOlof Johansson <olof@lixom.net>2015-01-21 17:31:06 -0500
commit82fd132c0d658b0d6ccd928a914b207d1862572f (patch)
tree412413897a39df6418acf139b3b914061418c885 /arch
parent27dafaa8dc64ddc5e969d5d865286750c6e493e2 (diff)
ARM: hisi: enable HiP01 SoC
Enable Hisilicon HiP01 SoC. This HiP01 SoC series support both one core or dual cores and quad cores. The core is Cortex A9. Signed-off-by: Wang Long <long.wanglong@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-hisi/Kconfig8
-rw-r--r--arch/arm/mach-hisi/hisilicon.c10
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
index cd19433f76d3..83061ad0e282 100644
--- a/arch/arm/mach-hisi/Kconfig
+++ b/arch/arm/mach-hisi/Kconfig
@@ -22,6 +22,14 @@ config ARCH_HI3xxx
22 help 22 help
23 Support for Hisilicon Hi36xx SoC family 23 Support for Hisilicon Hi36xx SoC family
24 24
25config ARCH_HIP01
26 bool "Hisilicon HIP01 family" if ARCH_MULTI_V7
27 select HAVE_ARM_SCU if SMP
28 select HAVE_ARM_TWD if SMP
29 select ARM_GLOBAL_TIMER
30 help
31 Support for Hisilicon HIP01 SoC family
32
25config ARCH_HIP04 33config ARCH_HIP04
26 bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7 34 bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7
27 select ARM_ERRATA_798181 if SMP 35 select ARM_ERRATA_798181 if SMP
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c
index 7744c351bbfd..76b907078b58 100644
--- a/arch/arm/mach-hisi/hisilicon.c
+++ b/arch/arm/mach-hisi/hisilicon.c
@@ -72,3 +72,13 @@ static const char *hip04_compat[] __initconst = {
72DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)") 72DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)")
73 .dt_compat = hip04_compat, 73 .dt_compat = hip04_compat,
74MACHINE_END 74MACHINE_END
75
76static const char *hip01_compat[] __initconst = {
77 "hisilicon,hip01",
78 "hisilicon,hip01-ca9x2",
79 NULL,
80};
81
82DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)")
83 .dt_compat = hip01_compat,
84MACHINE_END