1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

rockchip: rk3308: Skip serial pinctrl at pre-reloc phase

UART pinctrl for serial is typically applied multiple times:
- in external TPL
- in SPL using pinctrl from DT
- in pre-reloc phase using pinctrl from DT
- after relocation using pinctrl from DT

Skip including UART pinctrl for the the pre-reloc phase to save time
during boot. On a Radxa ROCK Pi S this reduce boot time by ~80 ms.

After this a warning may be shown with LOGLEVEL=5 (or higher), it is
safe to ignore this warning as device probe is successful even when
pinctrl cannot be applied:

  ns16550_serial serial@ff0a0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
This commit is contained in:
Jonas Karlman
2024-08-04 20:27:17 +00:00
committed by Ondrej Jirman
parent 17fce0e52f
commit 04339be206
4 changed files with 8 additions and 4 deletions

View File

@@ -10,5 +10,6 @@
};
&uart4_xfer {
bootph-all;
bootph-pre-sram;
bootph-pre-ram;
};

View File

@@ -29,7 +29,8 @@
};
&uart2m0_xfer {
bootph-all;
bootph-pre-sram;
bootph-pre-ram;
};
&vcc_sd {

View File

@@ -14,7 +14,8 @@
};
&uart0_xfer {
bootph-all;
bootph-pre-sram;
bootph-pre-ram;
};
&vcc5v0_otg {

View File

@@ -13,7 +13,8 @@
};
&uart0_xfer {
bootph-all;
bootph-pre-sram;
bootph-pre-ram;
};
&vdd_core {