projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5707d5f
)
net: gem: Use correct type for casting
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 15 Apr 2015 11:31:28 +0000
(13:31 +0200)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 20 Apr 2015 22:57:13 +0000
(17:57 -0500)
Use phys_addr_t which is used in function prototype
in system.h.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c
patch
|
blob
|
history
diff --git
a/drivers/net/zynq_gem.c
b/drivers/net/zynq_gem.c
index 74fda70abe00ad6df5d6c0bed82fa4aedbccc633..c723dbb0a6947221790eadfc14b0776645f40902 100644
(file)
--- a/
drivers/net/zynq_gem.c
+++ b/
drivers/net/zynq_gem.c
@@
-513,7
+513,8
@@
int zynq_gem_initialize(bd_t *bis, phys_addr_t base_addr,
/* Align bd_space to 1MB */
bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE);
- mmu_set_region_dcache_behaviour((u32)bd_space, BD_SPACE, DCACHE_OFF);
+ mmu_set_region_dcache_behaviour((phys_addr_t)bd_space,
+ BD_SPACE, DCACHE_OFF);
/* Initialize the bd spaces for tx and rx bd's */
priv->tx_bd = (struct emac_bd *)bd_space;