summaryrefslogtreecommitdiff
path: root/drivers/mmc/am654_sdhci.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-09 12:45:49 -0400
committerTom Rini <trini@konsulko.com>2023-05-09 12:45:49 -0400
commit0a9a4384c1483a88776bca38e28f09be51161034 (patch)
treec39e9bac9413c5c90f8da424865d67a7efdca315 /drivers/mmc/am654_sdhci.c
parentf1d33a44ca04fdca241c1d89fd79e2e56c930c7e (diff)
parent716ed2a8c0bba085372df0eb7edb580b11e8d94c (diff)
Merge tag 'u-boot-rockchip-20230509' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
- Rockchip NFC driver update and dev addr pointer api update; - use standard dr_mode for usb driver; - rock pi boards dts update; - Add rk3566 Anbernic boards; - Misc fixes for drivers;
Diffstat (limited to 'drivers/mmc/am654_sdhci.c')
-rw-r--r--drivers/mmc/am654_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index 42a61343645..fd667aeafda 100644
--- a/drivers/mmc/am654_sdhci.c
+++ b/drivers/mmc/am654_sdhci.c
@@ -584,7 +584,7 @@ static int am654_sdhci_of_to_plat(struct udevice *dev)
int ret;
host->name = dev->name;
- host->ioaddr = (void *)dev_read_addr(dev);
+ host->ioaddr = dev_read_addr_ptr(dev);
plat->non_removable = dev_read_bool(dev, "non-removable");
if (plat->flags & DLL_PRESENT) {