On Mon, Jan 27, 2020 at 1:08 PM Simon Glass <s...@chromium.org> wrote:
>
> At present if reading a BAR returns 0xffffffff (e.g. the device is not
> present) 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 <s...@chromium.org>
> ---
>
>  drivers/pci/pci-uclass.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to