bmips: reorganize patches
[openwrt/staging/dedeckeh.git] / target / linux / bmips / patches-5.10 / 020-v5.12-mips-bmips-init-clocks-earlier.patch
1 From faf3c25e51a7e91b69ea26da72c74a8786af7968 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Mon, 22 Feb 2021 21:33:50 +0100
4 Subject: [PATCH] mips: bmips: init clocks earlier
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 device_initcall() is too late for bcm63xx.
10 We need to call of_clk_init() earlier in order to properly boot.
11
12 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
13 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
14 ---
15 arch/mips/bmips/setup.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/arch/mips/bmips/setup.c
19 +++ b/arch/mips/bmips/setup.c
20 @@ -201,4 +201,4 @@ static int __init plat_dev_init(void)
21 return 0;
22 }
23
24 -device_initcall(plat_dev_init);
25 +arch_initcall(plat_dev_init);