
Hi Martin,
On 2023-11-04 14:04, Martin Roukala (né Peres) wrote:
When u-boot chainloads an EFI bootloader such as iPXE, we want to have already initialized the PCI subsystem so that network driver is loaded and ready to use by the bootloader.
This change slows down boot from emmc/sd-card where scanning for pci devices typically is unnecessary.
If pci must be initialized and scanned before an EFI app is started to find pci network controllers, then pci should probably be initialized by the efi bootmeth, not by enabling CONFIG_PCI_INIT_R for a single board.
Regards, Jonas
Fixes: 191ece249a96 ("rockchip: rk3588-rock-5b: Enable support for PCIe SATA cards") Signed-off-by: Martin Roukala (né Peres) martin.roukala@mupuf.org
configs/rock5b-rk3588_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig index 0595325e81..938137c851 100644 --- a/configs/rock5b-rk3588_defconfig +++ b/configs/rock5b-rk3588_defconfig @@ -36,6 +36,7 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-rock-5b.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_PCI_INIT_R=y CONFIG_SPL_MAX_SIZE=0x40000 CONFIG_SPL_PAD_TO=0x7f8000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y