commit | 052e34b363fdd4b20be099c3e1405a30988b3a5a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 12 20:09:30 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 14 09:50:13 2015 -0600 |
tree | 1f4f7d2a19956d343c754726618d8a05425ca734 | |
parent | ecf674b772713837e1d36f9c70ee319d7753a895 [diff] |
x86: Return -1 when reading a PCI config register fails This can fail for internal reasons, so return a sensible value rather than a random one. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>