[U-Boot] [PATCH 06/18] dm: pci: Make ranges dt property optional

Simon Glass sjg at chromium.org
Mon Jun 11 14:53:56 UTC 2018


On 10 June 2018 at 05:25, Bin Meng <bmeng.cn at gmail.com> wrote:
> From: Christian Gmeiner <christian.gmeiner at 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 at gmail.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> [bmeng: fixed 'u-boot' in the commit message and checkpatch warning]
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
>  drivers/pci/pci-uclass.c | 23 ++++++++++-------------
>  1 file changed, 10 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list