diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2018-06-10 06:25:05 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-06-13 09:50:57 +0800 |
commit | f2825f6ec0bb50e7bd9376828a32212f1961f979 (patch) | |
tree | 7cf188a02c744648db44e55bd6e7ac63c96e0f21 /include/mpc8xx.h | |
parent | 16dde8945ea948e675e48326e740e098dea2035e (diff) |
dm: pci: Make ranges dt property optional
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@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: fixed 'u-boot' in the commit message and checkpatch warning]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/mpc8xx.h')
0 files changed, 0 insertions, 0 deletions