On Mon, Jan 27, 2020 at 1:08 PM Simon Glass <[email protected]> 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 <[email protected]>
> ---
>
>  drivers/pci/pci-uclass.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <[email protected]>

Reply via email to