Skip to content

Commit 900a902

Browse files
committed
arm64: sunxi: always enable reset controller
The sunxi clk driver causes a link error when the reset controller subsystem is disabled: drivers/clk/built-in.o: In function `sun4i_ve_clk_setup': :(.init.text+0xd040): undefined reference to `reset_controller_register' drivers/clk/built-in.o: In function `sun4i_a10_display_init': :(.init.text+0xe5e0): undefined reference to `reset_controller_register' drivers/clk/built-in.o: In function `sunxi_usb_clk_setup': :(.init.text+0x10074): undefined reference to `reset_controller_register' We already force it to be enabled on arm32 and some other arm64 platforms, but not on arm64/sunxi. This adds the respective Kconfig statements to also select it here. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Maxime Ripard <[email protected]>
1 parent 98e53cf commit 900a902

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ menu "Platform selection"
22

33
config ARCH_SUNXI
44
bool "Allwinner sunxi 64-bit SoC Family"
5+
select ARCH_HAS_RESET_CONTROLLER
56
select GENERIC_IRQ_CHIP
67
select PINCTRL
8+
select RESET_CONTROLLER
79
help
810
This enables support for Allwinner sunxi based SoCs like the A64.
911

0 commit comments

Comments
 (0)