summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-s5pc1xx/mmc.h
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2011-03-22 01:29:38 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-03-27 19:20:21 +0200
commitbef5f8565ff87d048df352a891953805db84417c (patch)
tree691815b4d15925ebce93f6d8bfb70daf91bcf857 /arch/arm/include/asm/arch-s5pc1xx/mmc.h
parent9aca34d6ab4f17033ee65efaa584c591e7df873c (diff)
downloadtalos-obmc-uboot-bef5f8565ff87d048df352a891953805db84417c.tar.gz
talos-obmc-uboot-bef5f8565ff87d048df352a891953805db84417c.zip
ARMV7: S5P: Fixed register offset in mmc.h
The MMC registers are accessed through struct s5p_mmc member variables. MMC controller "control4" register offset is set to 0x8C as per data sheet. The size of struct s5p_mmc is also corrected. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx/mmc.h')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/mmc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/mmc.h b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
index 48de64d9c3..d458d3bb8e 100644
--- a/arch/arm/include/asm/arch-s5pc1xx/mmc.h
+++ b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
@@ -53,10 +53,11 @@ struct s5p_mmc {
unsigned char res3[0x34];
unsigned int control2;
unsigned int control3;
+ unsigned char res4[4];
unsigned int control4;
- unsigned char res4[0x6e];
+ unsigned char res5[0x6e];
unsigned short hcver;
- unsigned char res5[0xFFF02];
+ unsigned char res6[0xFFF00];
};
struct mmc_host {
OpenPOWER on IntegriCloud