Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1422510
| From | Jiancheng Xue <xuejiancheng@hisilicon.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v11 1/3] ARM: hisi: add compatible string for Hi3519 soc |
| Date | 2016-06-15 04:40 +0200 |
| Message-ID | <rK8Uh-4WP-9@gated-at.bofh.it> (permalink) |
| References | <rK8Uh-4WP-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Jiancheng Xue <xuejiancheng@huawei.com>
add compatible string for Hi3519 soc.
Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
---
arch/arm/mach-hisi/hisilicon.c | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c
index 8cc6215..00dae89 100644
--- a/arch/arm/mach-hisi/hisilicon.c
+++ b/arch/arm/mach-hisi/hisilicon.c
@@ -54,30 +54,15 @@ DT_MACHINE_START(HI3620, "Hisilicon Hi3620 (Flattened Device Tree)")
.dt_compat = hi3xxx_compat,
MACHINE_END
-static const char *const hix5hd2_compat[] __initconst = {
+static const char *const hisilicon_compat[] __initconst = {
"hisilicon,hix5hd2",
- NULL,
-};
-
-DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)")
- .dt_compat = hix5hd2_compat,
-MACHINE_END
-
-static const char *const hip04_compat[] __initconst = {
"hisilicon,hip04-d01",
- NULL,
-};
-
-DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)")
- .dt_compat = hip04_compat,
-MACHINE_END
-
-static const char *const hip01_compat[] __initconst = {
"hisilicon,hip01",
"hisilicon,hip01-ca9x2",
+ "hisilicon,hi3519",
NULL,
};
-DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)")
- .dt_compat = hip01_compat,
+DT_MACHINE_START(HISILICON_DT, "HiSilicon Soc")
+ .dt_compat = hisilicon_compat,
MACHINE_END
--
1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v11 1/3] ARM: hisi: add compatible string for Hi3519 soc Jiancheng Xue <xuejiancheng@hisilicon.com> - 2016-06-15 04:40 +0200
csiph-web