mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
bmips: switch to accepted upstream patch
This patch has been accepted and is going to be in linux v5.12. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
a03ce8cfba
commit
5998983436
@ -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);
|
@ -1,8 +0,0 @@
|
|||||||
--- 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);
|
|
Loading…
x
Reference in New Issue
Block a user