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

Bin Meng bmeng.cn at gmail.com
Tue Jun 12 13:07:26 UTC 2018


On Mon, Jun 11, 2018 at 10:53 PM, Simon Glass <sjg at chromium.org> wrote:
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list