Skip to content

Commit 800daa6

Browse files
committed
Merge tag 'hisi-armv7-soc-for-4.8-v3' of git://github.com/hisilicon/linux-hisi into next/soc
Merge "ARM: mach-hisi: Hisilicon SoC updates for 4.8" from Wei Xu: - Consolidate the hisilicon armv7 SoCs machine entries - Avoid the compiling warning by making unexported symbols static * tag 'hisi-armv7-soc-for-4.8-v3' of git://github.com/hisilicon/linux-hisi: ARM: hisi: consolidate the hisilicon machine entries ARM: hisi: make unexported symbols static
2 parents 04b6d0a + abee8fb commit 800daa6

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

arch/arm/mach-hisi/hisilicon.c

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -53,31 +53,3 @@ DT_MACHINE_START(HI3620, "Hisilicon Hi3620 (Flattened Device Tree)")
5353
.map_io = hi3620_map_io,
5454
.dt_compat = hi3xxx_compat,
5555
MACHINE_END
56-
57-
static const char *const hix5hd2_compat[] __initconst = {
58-
"hisilicon,hix5hd2",
59-
NULL,
60-
};
61-
62-
DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)")
63-
.dt_compat = hix5hd2_compat,
64-
MACHINE_END
65-
66-
static const char *const hip04_compat[] __initconst = {
67-
"hisilicon,hip04-d01",
68-
NULL,
69-
};
70-
71-
DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)")
72-
.dt_compat = hip04_compat,
73-
MACHINE_END
74-
75-
static const char *const hip01_compat[] __initconst = {
76-
"hisilicon,hip01",
77-
"hisilicon,hip01-ca9x2",
78-
NULL,
79-
};
80-
81-
DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)")
82-
.dt_compat = hip01_compat,
83-
MACHINE_END

arch/arm/mach-hisi/platsmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static void __init hisi_common_smp_prepare_cpus(unsigned int max_cpus)
103103
hisi_enable_scu_a9();
104104
}
105105

106-
void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
106+
static void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
107107
{
108108
void __iomem *virt;
109109

@@ -139,7 +139,7 @@ static const struct smp_operations hix5hd2_smp_ops __initconst = {
139139
#define HIP01_BOOT_ADDRESS 0x80000000
140140
#define REG_SC_CTRL 0x000
141141

142-
void hip01_set_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
142+
static void hip01_set_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr)
143143
{
144144
void __iomem *virt;
145145

0 commit comments

Comments
 (0)