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

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

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

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!
participants (3)
-
Phil Sutter
-
Stefan Roese
-
Tom Rini