diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-01-14 15:11:47 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-01-21 09:30:43 (GMT) |
commit | 38cd2d9c9b6a252c413cb91fbc4496797e425dc2 (patch) | |
tree | 1d3128d1fef96a2f7349a72fb0451fab4f267dee /drivers/mmc | |
parent | 527cd43d75da956f1cd8701e61d2a803fa5199fb (diff) | |
download | u-boot-38cd2d9c9b6a252c413cb91fbc4496797e425dc2.tar.xz |
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/mmc')
-rw-r--r-- | drivers/mmc/zynq_sdhci.c | 4 |
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"); |