mediatek: filogic: use UBI fast map to speed up boot
[openwrt/staging/noltari.git] / package / boot / uboot-mediatek / patches / 001-mtk-0100-arm-dts-mt7622-remove-default-pinctrl-of-uart0.patch
1 From a3ba6adb70c91ec3b9312c3a025faa44acd39cfa Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Wed, 13 Jul 2022 11:16:39 +0800
4 Subject: [PATCH] arm: dts: mt7622: remove default pinctrl of uart0
5
6 Currently u-boot running on mt7622 will print an warning log at beginning:
7 > serial_mtk serial@11002000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
8
9 It turns out that the pinctrl uclass can't work properly in board_f stage.
10
11 Since the uart0 is the default UART device used by bootrom, and will be
12 initialized in both bootrom and tf-a bl2. It's ok not to setup pinctrl for
13 uart0 in u-boot.
14
15 This patch removes the default pinctrl of uart0 to suppress the unwanted
16 warning.
17
18 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
19 ---
20 arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 2 --
21 arch/arm/dts/mt7622-rfb.dts | 2 --
22 2 files changed, 4 deletions(-)
23
24 --- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
25 +++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
26 @@ -182,8 +182,6 @@
27 };
28
29 &uart0 {
30 - pinctrl-names = "default";
31 - pinctrl-0 = <&uart0_pins>;
32 status = "okay";
33 };
34
35 --- a/arch/arm/dts/mt7622-rfb.dts
36 +++ b/arch/arm/dts/mt7622-rfb.dts
37 @@ -189,8 +189,6 @@
38 };
39
40 &uart0 {
41 - pinctrl-names = "default";
42 - pinctrl-0 = <&uart0_pins>;
43 status = "okay";
44 };
45