mips: bmips: init clocks earlier
Subsystems (2)
PATCH 1/1 mips: bmips: init clocks earlier
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 <[email protected]>
--- arch/mips/bmips/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/bmips/setup.c +1 -1
@@ -196,4 +196,4 @@ static int __init plat_dev_init(void)return 0 ; } -device_initcall (plat_dev_init); +arch_initcall (plat_dev_init);
Signature · 1 line
2.20.1
Quoted 7 lines · Álvaro Fernández Rojas
device_initcall()is too late for bcm63xx.
We need to callof_clk_init()earlier in order to properly boot.Signed-off-by Álvaro Fernández Rojas <[email protected]>--- arch/mips/bmips/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]