Skip to content

Commit 3037b17

Browse files
krzkDinh Nguyen
authored andcommitted
ARM: socfpga: fix missing RESET_CONTROLLER
The SocFPGA machine since commit b3ca988 ("reset: socfpga: add an early reset driver for SoCFPGA") uses reset controller, so it should select RESET_CONTROLLER explicitly. Selecting ARCH_HAS_RESET_CONTROLLER is not enough because it affects only default choice still allowing a non-buildable configuration: /usr/bin/arm-linux-gnueabi-ld: arch/arm/mach-socfpga/socfpga.o: in function `socfpga_init_irq': arch/arm/mach-socfpga/socfpga.c:56: undefined reference to `socfpga_reset_init' Reported-by: kernel test robot <[email protected]> Cc: <[email protected]> Fixes: b3ca988 ("reset: socfpga: add an early reset driver for SoCFPGA") Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Dinh Nguyen <[email protected]>
1 parent e783362 commit 3037b17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/mach-socfpga/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
menuconfig ARCH_INTEL_SOCFPGA
33
bool "Altera SOCFPGA family"
44
depends on ARCH_MULTI_V7
5+
select ARCH_HAS_RESET_CONTROLLER
56
select ARCH_SUPPORTS_BIG_ENDIAN
67
select ARM_AMBA
78
select ARM_GIC
@@ -18,6 +19,7 @@ menuconfig ARCH_INTEL_SOCFPGA
1819
select PL310_ERRATA_727915
1920
select PL310_ERRATA_753970 if PL310
2021
select PL310_ERRATA_769419
22+
select RESET_CONTROLLER
2123

2224
if ARCH_INTEL_SOCFPGA
2325
config SOCFPGA_SUSPEND

0 commit comments

Comments
 (0)