Commit b69e1d0b authored by Yinbo Zhu's avatar Yinbo Zhu Committed by Prabhakar Kushwaha
Browse files

driver: mmc: adopt 32 bit addr in fsl_esdhc for CONFIG_PPC

PowerPC supports 32 bit address.
So adopt 32 bit addr in fsl_esdhc for CONFIG_PPC.
Signed-off-by: default avatarYinbo Zhu <>
Reviewed-by: default avatarPrabhakar Kushwaha <>
parent b512d07e
......@@ -1462,8 +1462,11 @@ static int fsl_esdhc_probe(struct udevice *dev)
addr = dev_read_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;
priv->esdhc_regs = (struct fsl_esdhc *)lower_32_bits(addr);
priv->esdhc_regs = (struct fsl_esdhc *)addr;
priv->dev = dev;
priv->mode = -1;
if (data) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment