aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-14 14:21:48 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-14 16:21:27 +0100
commit4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c (patch)
tree175c81db3e56dc72ad34ccea408d2154334f7d35 /target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch
parente6ba970b6ef2289a2a4d3dd6c0c158ee8d10160f (diff)
downloadupstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.tar.gz
upstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.tar.bz2
upstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.zip
bmips: reorganize patches
Rename and reorganize backported patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch')
-rw-r--r--target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch b/target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch
new file mode 100644
index 0000000000..7b9d92609f
--- /dev/null
+++ b/target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch
@@ -0,0 +1,25 @@
+From faf3c25e51a7e91b69ea26da72c74a8786af7968 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
+Date: Mon, 22 Feb 2021 21:33:50 +0100
+Subject: [PATCH] mips: bmips: init clocks earlier
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+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>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
+---
+ arch/mips/bmips/setup.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/mips/bmips/setup.c
++++ b/arch/mips/bmips/setup.c
+@@ -201,4 +201,4 @@ static int __init plat_dev_init(void)
+ return 0;
+ }
+
+-device_initcall(plat_dev_init);
++arch_initcall(plat_dev_init);