Skip to content

Commit 2b4c206

Browse files
smaeuljernejsk
authored andcommitted
clk: sunxi: Limit legacy clocks to 32-bit ARM
The sunxi legacy clocks were never compatible with any 64-bit SoC, so there is no point in building them as part of a 64-bit ARM kernel. They make even less sense being built in to a 64-bit RISC-V kernel. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e1c51d3 commit 2b4c206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menuconfig CLK_SUNXI
33
bool "Legacy clock support for Allwinner SoCs"
4-
depends on ARCH_SUNXI || COMPILE_TEST
4+
depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
55
default y
66

77
if CLK_SUNXI

0 commit comments

Comments
 (0)