From: Peng Fan Date: Tue, 10 Mar 2015 07:35:46 +0000 (+0800) Subject: mmc: fsl_esdhc fix register offset X-Git-Tag: v2015.04-rc4~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=323aaaa1e364bf8426a9c8fd5158fe2d155ae7b9;p=u-boot mmc: fsl_esdhc fix register offset Commit f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1 introduces error register offset. Change the "char reserved3[59]" to "char reserved3[56]". Signed-off-by: Peng Fan Tested-by: Fabio Estevam --- diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index c5e270dd57..db4d251923 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -56,7 +56,7 @@ struct fsl_esdhc { uint adsaddr; /* ADMA system address register */ char reserved2[100]; /* reserved */ uint vendorspec; /* Vendor Specific register */ - char reserved3[59]; /* reserved */ + char reserved3[56]; /* reserved */ uint hostver; /* Host controller version register */ char reserved4[4]; /* reserved */ uint dmaerraddr; /* DMA error address register */