summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-01-14 16:11:47 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-01-21 10:30:43 +0100
commit38cd2d9c9b6a252c413cb91fbc4496797e425dc2 (patch)
tree1d3128d1fef96a2f7349a72fb0451fab4f267dee /drivers
parent527cd43d75da956f1cd8701e61d2a803fa5199fb (diff)
downloadu-boot-imx-38cd2d9c9b6a252c413cb91fbc4496797e425dc2.zip
u-boot-imx-38cd2d9c9b6a252c413cb91fbc4496797e425dc2.tar.gz
u-boot-imx-38cd2d9c9b6a252c413cb91fbc4496797e425dc2.tar.bz2
mmc: zynq: Use phys_addr_t for addresses
phys_addr_t is designed for physical addresses that's why use it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/zynq_sdhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index fdce2c2..7887f11 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -13,7 +13,7 @@
#include <sdhci.h>
#include <asm/arch/sys_proto.h>
-int zynq_sdhci_init(u32 regbase)
+int zynq_sdhci_init(phys_addr_t regbase)
{
struct sdhci_host *host = NULL;
@@ -40,7 +40,7 @@ int zynq_sdhci_of_init(const void *blob)
{
int offset = 0;
u32 ret = 0;
- u32 reg;
+ phys_addr_t reg;
debug("ZYNQ SDHCI: Initialization\n");