Skip to content
Commit dd0f7bcf authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

pci: coreboot: Don't read regions when booting



When U-Boot is the second-stage bootloader, PCI is already set up. We
cannot read the regions from the device tree. There is no point anyway,
since PCI devices have already been allocated according to the regions
and it is not safe for U-Boot to make any changes.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Fixes: f2ebaaa9 ("pci: Handle failed calloc in decode_regions()")
Tested-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent b29dbf98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment