[PATCH] rockchip: rk3588-rock-5b: Enable CONFIG_PCI_INIT_R to support EFI networking

Kever Yang kever.yang at rock-chips.com
Thu Nov 9 04:12:46 CET 2023


Hi Martin and jonas,

On 2023/11/4 21: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.
>
> Fixes: 191ece249a96 ("rockchip: rk3588-rock-5b: Enable support for PCIe SATA cards")
> Signed-off-by: Martin Roukala (né Peres) <martin.roukala at mupuf.org>

Scan different storage media for boot firmware always cost some time, 
the pci cost a little bit

more time then SPI/eMMC, but since this board already support PCI 
storage, it's reasonable to

enable boot from PCI.


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever

> ---
>   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


More information about the U-Boot mailing list