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

Simon Glass sjg at chromium.org
Thu Mar 29 22:43:34 UTC 2018


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>


More information about the U-Boot mailing list