diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-18 15:55:51 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-04-27 21:58:21 +0200 |
commit | 900a9020af7a023f9b64c919fddf8a7486108962 (patch) | |
tree | d6db422bc7967f8968a5b72d92c6e00bc0e7063c /arch/arm64 | |
parent | 98e53cfaf755309c66d840f95d5b39186629c44d (diff) |
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 <arnd@arndb.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/Kconfig.platforms | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index b3a1fb8df925..4afcffcb46cb 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -2,8 +2,10 @@ menu "Platform selection" config ARCH_SUNXI bool "Allwinner sunxi 64-bit SoC Family" + select ARCH_HAS_RESET_CONTROLLER select GENERIC_IRQ_CHIP select PINCTRL + select RESET_CONTROLLER help This enables support for Allwinner sunxi based SoCs like the A64. |