aboutsummaryrefslogtreecommitdiff
path: root/tools/scripts
diff options
context:
space:
mode:
authorSimon Glass2020-04-09 10:27:36 -0600
committerBin Meng2020-04-16 14:36:28 +0800
commit9ece4b090fdda97177ac9b3470e9b7de839eb59d (patch)
treedaf9ca8161050216214de6d05740dc9633ae645e /tools/scripts
parent163085308576139ac0b0c65e3b81be78ab890aa9 (diff)
pci: Adjust dm_pci_read_bar32() to return errors correctly
At present if reading a BAR returns 0xffffffff then the value is masked and a different value is returned. This makes it harder to detect the problem when debugging. Update the function to avoid masking in this case. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions