* [PATCH] mips: bmips: init clocks earlier
@ 2021-02-22 20:33 Álvaro Fernández Rojas
2021-02-23 12:27 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Álvaro Fernández Rojas @ 2021-02-22 20:33 UTC (permalink / raw)
To: Florian Fainelli, Thomas Bogendoerfer, bcm-kernel-feedback-list,
linux-mips, linux-kernel
Cc: Álvaro Fernández Rojas
device_initcall() is too late for bcm63xx.
We need to call of_clk_init() earlier in order to properly boot.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
arch/mips/bmips/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/bmips/setup.c b/arch/mips/bmips/setup.c
index 95f8f10d8697..31bcfa4e08b9 100644
--- a/arch/mips/bmips/setup.c
+++ b/arch/mips/bmips/setup.c
@@ -196,4 +196,4 @@ static int __init plat_dev_init(void)
return 0;
}
-device_initcall(plat_dev_init);
+arch_initcall(plat_dev_init);
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: bmips: init clocks earlier
2021-02-22 20:33 [PATCH] mips: bmips: init clocks earlier Álvaro Fernández Rojas
@ 2021-02-23 12:27 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2021-02-23 12:27 UTC (permalink / raw)
To: Álvaro Fernández Rojas
Cc: Florian Fainelli, bcm-kernel-feedback-list, linux-mips, linux-kernel
On Mon, Feb 22, 2021 at 09:33:50PM +0100, Álvaro Fernández Rojas wrote:
> device_initcall() is too late for bcm63xx.
> We need to call of_clk_init() earlier in order to properly boot.
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> arch/mips/bmips/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-23 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 20:33 [PATCH] mips: bmips: init clocks earlier Álvaro Fernández Rojas
2021-02-23 12:27 ` Thomas Bogendoerfer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.