0392f18139
[ Upstream commit 8e3709d7e3a67e2d3f42bd1fc2052353a5678944 ]
When building arm32 allmodconfig:
ld.lld: error: undefined symbol: ap_cp_unique_name
>>> referenced by ap-cpu-clk.c
>>> clk/mvebu/ap-cpu-clk.o:(ap_cpu_clock_probe) in archive drivers/built-in.a
ap_cp_unique_name is only compiled into the kernel image when
CONFIG_ARMADA_AP_CP_HELPER is selected (as it is not user selectable).
However, CONFIG_ARMADA_AP_CPU_CLK does not select it.
This has been a problem since the driver was added to the kernel but it
was not built before commit c318ea261749 ("cpufreq: ap806: fix cpufreq
driver needs ap cpu clk") so it was never noticed.
Fixes: f756e362d9
("clk: mvebu: add CPU clock driver for Armada 7K/8K")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://lore.kernel.org/r/20200701201128.2448427-1-natechancellor@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
62 lines
846 B
Plaintext
62 lines
846 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config MVEBU_CLK_COMMON
|
|
bool
|
|
|
|
config MVEBU_CLK_CPU
|
|
bool
|
|
|
|
config MVEBU_CLK_COREDIV
|
|
bool
|
|
|
|
config ARMADA_AP_CP_HELPER
|
|
bool
|
|
|
|
config ARMADA_370_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
select MVEBU_CLK_CPU
|
|
|
|
config ARMADA_375_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ARMADA_38X_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ARMADA_39X_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ARMADA_37XX_CLK
|
|
bool
|
|
|
|
config ARMADA_XP_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
select MVEBU_CLK_CPU
|
|
|
|
config ARMADA_AP806_SYSCON
|
|
bool
|
|
select ARMADA_AP_CP_HELPER
|
|
|
|
config ARMADA_AP_CPU_CLK
|
|
bool
|
|
select ARMADA_AP_CP_HELPER
|
|
|
|
config ARMADA_CP110_SYSCON
|
|
bool
|
|
select ARMADA_AP_CP_HELPER
|
|
|
|
config DOVE_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config KIRKWOOD_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ORION_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|