]> git.ipfire.org Git - people/ms/u-boot.git/commit
mvpp2: Fix warning over 32bit vs 64bit targets
authorTom Rini <trini@konsulko.com>
Sat, 27 Jan 2018 19:48:08 +0000 (14:48 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2018 17:48:34 +0000 (12:48 -0500)
commitc5e6e9b3d6a19631c7882a0d2f313f3d6c79c658
treefa2b052a11dfe92f91106583a7e18af270fd0684
parent05e23dd489685c99be4ff4fe1c41543a3688dceb
mvpp2: Fix warning over 32bit vs 64bit targets

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>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c