ARM: davinci: select CONFIG_RESET_CONTROLLER
PATCH 1/1 ARM: davinci: select CONFIG_RESET_CONTROLLER
Selecting RESET_CONTROLLER is actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference to devm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In function da850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'
--- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-davinci/Kconfig +1 -0
@@ -9,6 +9,7 @@ menuconfig ARCH_DAVINCI select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF select REGMAP_MMIO + select RESET_CONTROLLER select HAVE_IDE select PINCTRL_SINGLE
Signature · 1 line
2.20.0
wt., 10 gru 2019 o 20:52 Arnd Bergmann <[email protected]> napisał(a):
Quoted 9 lines
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'
Quoted 7 lines
Fixes f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")Cc <[email protected]> # v5.4Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+)
Philipp Zabel
Reviewed-byQuoted 17 lines · Bartosz Golaszewski
wt., 10 gru 2019 o 20:52 Arnd Bergmann <[email protected]> napisał(a):
Quoted 8 lines
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'Quoted 7 lines
Fixes f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")Cc <[email protected]> # v5.4Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 1 line
Reviewed-by Bartosz Golaszewski <[email protected]>
regards
Philipp
Hi Arnd,
Quoted 11 lines · Arnd Bergmann
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'Fixes f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")Cc <[email protected]> # v5.4Signed-off-by Arnd Bergmann <[email protected]>
Assuming you are going to apply directly to ARM-SoC,
Thanks,
Sekhar
Quoted 19 lines
--- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-davinci/Kconfig +1
-0@@ -9,6 +9,7 @@ menuconfig ARCH_DAVINCI select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF select REGMAP_MMIO + select RESET_CONTROLLER select HAVE_IDE select PINCTRL_SINGLESignature · 1 line
2.20.0
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Arnd,
Quoted 11 lines · Sekhar Nori
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'
Quoted 7 lines
Quoted 3 lines
Fixes f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")Cc <[email protected]> # v5.4Signed-off-by Arnd Bergmann <[email protected]>Assuming you are going to apply directly to ARM-SoC,
Acked-by Sekhar Nori <[email protected]>
This is not yet in Linus's master. Let me know if I should collect it and send a pull request.
Thanks,
Sekhar
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 18 lines · Sekhar Nori
Hi Arnd,
Quoted 15 lines · Sekhar Nori
Hi Arnd,
Quoted 11 lines · Arnd Bergmann
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'Fixes f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")Cc <[email protected]> # v5.4Signed-off-by Arnd Bergmann <[email protected]>
Quoted 6 lines
Quoted 3 lines
Assuming you are going to apply directly to ARM-SoC,
Acked-by Sekhar Nori <[email protected]>This is not yet in Linus's master. Let me know if I should collect it and send a pull request.
It's sitting in our fixes branch and should show up in mainline in not too long.
-Olof
TI omap compile problem in 5.5-rc1? was Re: [PATCH] ARM: davinci: select CONFIG_RESET_CONTROLLER
In reply to Arnd BergmannHi!
Quoted 8 lines
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'
Does omap need similar handing in 5.5-rc1?
LD .tmp_vmlinux1
drivers/soc/ti/omap_prm.o: In function `omap_prm_probe':
omap_prm.c:(.text+0x4d0): undefined reference to `devm_reset_controller_register' /data/fast/l/k/Makefile:1077: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1
Enabling reset controller seems to help::
Reset Controller Support (RESET_CONTROLLER) [Y/n/?] (NEW)
TI SYSCON Reset Driver (RESET_TI_SYSCON) [N/m/y/?] (NEW)
Best regards,
Pavel
Re: TI omap compile problem in 5.5-rc1? was Re: [PATCH] ARM: davinci: select CONFIG_RESET_CONTROLLER
Quoted 20 lines · Pavel Machek
Hi!
Quoted 8 lines
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'Does omap need similar handing in 5.5-rc1?
LD .tmp_vmlinux1
drivers/soc/ti/omap_prm.o: In function `omap_prm_probe':
omap_prm.c:(.text+0x4d0): undefined reference to `devm_reset_controller_register' /data/fast/l/k/Makefile:1077: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1
Quoted 4 lines
Enabling reset controller seems to help::
Reset Controller Support (
RESET_CONTROLLER) [Y/n/?] (NEW)
TI SYSCON Reset Driver (RESET_TI_SYSCON) [N/m/y/?] (NEW)
Yes see the patch Arnd recently posted to do that.
Regards,
Tony
Re: TI omap compile problem in 5.5-rc1? was Re: [PATCH] ARM: davinci: select CONFIG_RESET_CONTROLLER
Hi!
Quoted 18 lines
Quoted 18 lines
Quoted 8 lines
Selecting
RESET_CONTROLLERis actually required, otherwise we can get a link failure in the clock driver:
drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference todevm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In functionda850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'Does omap need similar handing in 5.5-rc1?
LD .tmp_vmlinux1
drivers/soc/ti/omap_prm.o: In function `omap_prm_probe':
omap_prm.c:(.text+0x4d0): undefined reference to `devm_reset_controller_register' /data/fast/l/k/Makefile:1077: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1
Quoted 6 lines
Quoted 4 lines
Enabling reset controller seems to help::
Reset Controller Support (
RESET_CONTROLLER) [Y/n/?] (NEW)
TI SYSCON Reset Driver (RESET_TI_SYSCON) [N/m/y/?] (NEW)Yes see the patch Arnd recently posted to do that.
Thanks for the hint and sorry for the noise.
Best regards,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html