commit | ae0bddeb77b50cb4ede0011ca71f56ccbf5fb1dd | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Mar 27 00:46:05 2018 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Mar 30 16:05:08 2018 +0800 |
tree | 33be3e6580a2004575777bef1fdf9e6bce46a051 | |
parent | 6c0a84960df8d4cc4aa5537bfe3f315610df12f4 [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>