summaryrefslogtreecommitdiff
path: root/drivers/pci/pci_sh7751.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-03-27 00:46:05 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-03-30 16:05:08 +0800
commit1eaf7800b6b99b48e73eab56202cf1c7a0e19ac9 (patch)
tree33be3e6580a2004575777bef1fdf9e6bce46a051 /drivers/pci/pci_sh7751.c
parent14d61d4e577c57ba77b826c6cc9d99a0b3f3fc37 (diff)
dm: pci: Check board information pointer in decode_regions()
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@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci/pci_sh7751.c')
0 files changed, 0 insertions, 0 deletions