public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/4] mvpp2: Fix warning over 32bit vs 64bit targets
@ 2018-01-27 19:48 Tom Rini
  2018-01-27 19:48 ` [U-Boot] [PATCH 2/4] usb: gadget: dwc2: " Tom Rini
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Tom Rini @ 2018-01-27 19:48 UTC (permalink / raw)
  To: u-boot

When we have a driver that is used on both 32bit and 64bit targets and
we are talking about address space we cannot use u64 nor u32 and instead
need to use phys_addr_t.

Fixes: 377883f16d36 ("net: mvpp2x: fix phy connected to wrong mdio issue")
Cc: Stefan Chulski <stefanc@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/net/mvpp2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index 233c98b66c88..e3d31a560d54 100644
--- a/drivers/net/mvpp2.c
+++ b/drivers/net/mvpp2.c
@@ -4722,7 +4722,7 @@ static int phy_info_parse(struct udevice *dev, struct mvpp2_port *port)
 	u32 id;
 	u32 phyaddr = 0;
 	int phy_mode = -1;
-	u64 mdio_addr;
+	phys_addr_t mdio_addr;
 
 	phy_node = fdtdec_lookup_phandle(gd->fdt_blob, port_node, "phy");
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-01-29 20:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-27 19:48 [U-Boot] [PATCH 1/4] mvpp2: Fix warning over 32bit vs 64bit targets Tom Rini
2018-01-27 19:48 ` [U-Boot] [PATCH 2/4] usb: gadget: dwc2: " Tom Rini
2018-01-27 19:52   ` Marek Vasut
2018-01-27 19:56     ` Tom Rini
2018-01-27 20:09       ` Marek Vasut
2018-01-27 20:17       ` Dr. Philipp Tomsich
2018-01-27 20:31         ` Marek Vasut
2018-01-28  9:57           ` Lukasz Majewski
2018-01-27 19:48 ` [U-Boot] [PATCH 3/4] fs: btrfs: Fix printf format character warning Tom Rini
2018-01-27 22:17   ` Marek Behun
2018-01-27 22:23   ` [U-Boot] [PATCH v2 " Tom Rini
2018-01-27 22:36     ` Marek Behun
2018-01-29 20:21     ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-01-27 19:48 ` [U-Boot] [PATCH 4/4] usb: ehci-mxs: Fix argument order for ehci_writel() Tom Rini
2018-01-27 19:53   ` Marek Vasut
2018-01-27 19:53     ` Tom Rini
2018-01-29  7:15 ` [U-Boot] [PATCH 1/4] mvpp2: Fix warning over 32bit vs 64bit targets Stefan Roese
2018-01-29 17:46 ` Joe Hershberger
2018-01-29 20:20 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox