diff options
Diffstat (limited to 'drivers/mmc/jz_mmc.c')
-rw-r--r-- | drivers/mmc/jz_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c index b33f0850738..d3f1eddf450 100644 --- a/drivers/mmc/jz_mmc.c +++ b/drivers/mmc/jz_mmc.c @@ -450,7 +450,7 @@ static int jz_mmc_ofdata_to_platdata(struct udevice *dev) struct mmc_config *cfg; int ret; - priv->regs = map_physmem(dev_read_addr(dev), 0x100, MAP_NOCACHE); + priv->regs = map_physmem(devfdt_get_addr(dev), 0x100, MAP_NOCACHE); cfg = &plat->cfg; cfg->name = "MSC"; |