diff mbox series

pci: Mark 64bit Memory BARs as such

Message ID 20210303005735.16161-1-phil@nwl.cc
State Accepted
Commit a62de442e41d85b0ab682c2d51ce9d24971dd9dd
Delegated to: Tom Rini
Headers show
Series pci: Mark 64bit Memory BARs as such | expand

Commit Message

Phil Sutter March 3, 2021, 12:57 a.m. UTC
Just a bit more info to the reader.

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 drivers/pci/pci_auto.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stefan Roese March 4, 2021, 1:10 p.m. UTC | #1
On 03.03.21 01:57, Phil Sutter wrote:
> Just a bit more info to the reader.
> 
> Signed-off-by: Phil Sutter <phil@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@denx.de>

Thanks,
Stefan
Tom Rini April 13, 2021, 2:27 p.m. UTC | #2
On Wed, Mar 03, 2021 at 01:57:35AM +0100, Phil Sutter wrote:

> Just a bit more info to the reader.
> 
> Signed-off-by: Phil Sutter <phil@nwl.cc>
> Reviewed-by: Stefan Roese <sr@denx.de>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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);
 		}