[U-Boot] [PATCH 1/2] dm: pci: Check board information pointer in decode_regions()

Bin Meng bmeng.cn at gmail.com
Fri Mar 30 07:30:41 UTC 2018


On Fri, Mar 30, 2018 at 6:43 AM, Simon Glass <sjg at chromium.org> wrote:
> On 27 March 2018 at 15:46, Bin Meng <bmeng.cn at gmail.com> wrote:
>> PCI enumeration may happen very early on an x86 board. The board
>> information pointer should have been checked in decode_regions()
>> as its space may not be allocated yet.
>>
>> With this commit, Intel Galileo board boots again.
>>
>> Fixes: 664758c ("pci: Fix decode regions for memory banks")
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  drivers/pci/pci-uclass.c | 3 +++
>>  1 file changed, 3 insertions(+)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list