
On Mon, Jun 11, 2018 at 10:53 PM, Simon Glass sjg@chromium.org wrote:
On 10 June 2018 at 05:25, Bin Meng bmeng.cn@gmail.com wrote:
From: Christian Gmeiner christian.gmeiner@gmail.com
If we use U-Boot as coreboot payload with a generic dts without any ranges specified we fail in pci pre_probe and our pci bus is not usable.
So convert decode_regions(..) into a void function and do the simple error handling there.
Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com Reviewed-by: Bin Meng bmeng.cn@gmail.com [bmeng: fixed 'u-boot' in the commit message and checkpatch warning] Signed-off-by: Bin Meng bmeng.cn@gmail.com
drivers/pci/pci-uclass.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
applied to u-boot-x86, thanks!