>
> 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: Simon Glass <[email protected]>
> Reviewed-by: Bin Meng <[email protected]>

Tested-by: Christian Gmeiner <[email protected]>

This fixes a regression that got introduced with f2ebaaa9f3 ("pci:
Handle failed calloc in decode_regions()")

For more details see:
https://lore.kernel.org/all/[email protected]/T/#m9f89006c3cd36fd0b4f3856e92328ea39206898c

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy

Reply via email to