]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: fsl_esdhc fix register offset
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 10 Mar 2015 07:35:46 +0000 (15:35 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 17 Mar 2015 13:09:47 +0000 (09:09 -0400)
Commit f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1 introduces
error register offset.

Change the "char reserved3[59]" to "char reserved3[56]".

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/mmc/fsl_esdhc.c

index c5e270dd57df6ba67b4a4c71ff08b9d7705d375e..db4d25192383742263fe722050a3b747b556c8eb 100644 (file)
@@ -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 */