* [PATCH v1] pci: iproc: fix compilation errors and warnings
@ 2021-08-23 9:27 Bharat Kumar Reddy Gooty
2021-09-02 22:42 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Bharat Kumar Reddy Gooty @ 2021-08-23 9:27 UTC (permalink / raw)
To: srinath.mannam, u-boot, Simon Glass, hs; +Cc: bharat.gooty
[-- Attachment #1: Type: text/plain, Size: 2347 bytes --]
From: Bharat Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com>
---
drivers/pci/pcie_iproc.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pcie_iproc.c b/drivers/pci/pcie_iproc.c
index 12ce9d525c..be03dcbd97 100644
--- a/drivers/pci/pcie_iproc.c
+++ b/drivers/pci/pcie_iproc.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
/*
- * Copyright (C) 2020 Broadcom
+ * Copyright (C) 2020-2021 Broadcom
*
*/
@@ -12,6 +12,7 @@
#include <malloc.h>
#include <asm/io.h>
#include <dm/device_compat.h>
+#include <linux/delay.h>
#include <linux/log2.h>
#define EP_PERST_SOURCE_SELECT_SHIFT 2
@@ -884,7 +885,7 @@ static int iproc_pcie_map_ranges(struct udevice *dev)
for (i = 0; i < hose->region_count; i++) {
if (hose->regions[i].flags == PCI_REGION_MEM ||
hose->regions[i].flags == PCI_REGION_PREFETCH) {
- debug("%d: bus_addr %p, axi_addr %p, size 0x%lx\n",
+ debug("%d: bus_addr %p, axi_addr %p, size 0x%llx\n",
i, &hose->regions[i].bus_start,
&hose->regions[i].phys_start,
hose->regions[i].size);
@@ -1049,7 +1050,7 @@ static int iproc_pcie_map_dma_ranges(struct iproc_pcie *pcie)
while (!pci_get_dma_regions(pcie->dev, ®ions, i)) {
dev_dbg(pcie->dev,
- "dma %d: bus_addr %#lx, axi_addr %#llx, size %#lx\n",
+ "dma %d: bus_addr %#llx, axi_addr %#llx, size %#llx\n",
i, regions.bus_start, regions.phys_start, regions.size);
/* Each range entry corresponds to an inbound mapping region */
--
2.17.1
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4209 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] pci: iproc: fix compilation errors and warnings
2021-08-23 9:27 [PATCH v1] pci: iproc: fix compilation errors and warnings Bharat Kumar Reddy Gooty
@ 2021-09-02 22:42 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-09-02 22:42 UTC (permalink / raw)
To: Bharat Kumar Reddy Gooty; +Cc: srinath.mannam, u-boot, Simon Glass, hs
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
On Mon, Aug 23, 2021 at 02:57:24PM +0530, Bharat Kumar Reddy Gooty wrote:
> From: Bharat Gooty <bharat.gooty@broadcom.com>
>
> Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com>
Applied to u-boot/next, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-02 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-23 9:27 [PATCH v1] pci: iproc: fix compilation errors and warnings Bharat Kumar Reddy Gooty
2021-09-02 22:42 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox