[PATCH] pci: Mark 64bit Memory BARs as such

Stefan Roese sr at denx.de
Thu Mar 4 14:10:21 CET 2021


On 03.03.21 01:57, Phil Sutter wrote:
> Just a bit more info to the reader.
> 
> Signed-off-by: Phil Sutter <phil at nwl.cc>
> ---
>   drivers/pci/pci_auto.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
> index da76148c58398..05663c72b4b84 100644
> --- a/drivers/pci/pci_auto.c
> +++ b/drivers/pci/pci_auto.c
> @@ -88,8 +88,9 @@ static void dm_pciauto_setup_device(struct udevice *dev, int bars_num,
>   			else
>   				bar_res = mem;
>   
> -			debug("PCI Autoconfig: BAR %d, %s, size=0x%llx, ",
> +			debug("PCI Autoconfig: BAR %d, %s%s, size=0x%llx, ",
>   			      bar_nr, bar_res == prefetch ? "Prf" : "Mem",
> +			      found_mem64 ? "64" : "",
>   			      (unsigned long long)bar_size);
>   		}
>   
> 

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list