diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-01-08 01:03:21 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-08 10:15:49 -0500 |
commit | 7ba34ff09f1ef105521f914e4ad4e4ac19975bac (patch) | |
tree | 67f1834d999b406fc02a500007d8845b6fc23894 /include/fdtdec.h | |
parent | 9642b78cdf3404ada759ccb7c7de461bf25597cb (diff) | |
download | u-boot-imx-7ba34ff09f1ef105521f914e4ad4e4ac19975bac.zip u-boot-imx-7ba34ff09f1ef105521f914e4ad4e4ac19975bac.tar.gz u-boot-imx-7ba34ff09f1ef105521f914e4ad4e4ac19975bac.tar.bz2 |
pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails
When trying to access non-existent/unsupported PCI devices in
ls_pcie_read_config(), when ls_pcie_addr_valid() fails it returns
error code and fills in the result with 0xffffffff manually. But it
really should return zero to upper layer codes.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/fdtdec.h')
0 files changed, 0 insertions, 0 deletions