summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2009-07-17 15:00:03 +0530
committerJustin Waters <justin.waters@timesys.com>2009-10-21 16:46:34 -0400
commit381c48601ce27cfd0dc1148384a2519fa04d819a (patch)
tree319d67c90412efedc9dcc5a749891c56b887c5b3 /include
parentf45bad3457e88728493e6cdaa68fa22405932bd5 (diff)
OMAP3517 ALPHA: Changes for MMC2 support in Kernel
Some initialization like, Pad configuration, clock settings needs to be done from U-Boot for MMC2 port to be accessed from Kernel. Please note that u-boot still only supports MMC1 Port. To enable MMC2 from U-Boot one should only change the BASE address and it should work.
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-omap3/mmc_host_def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-arm/arch-omap3/mmc_host_def.h b/include/asm-arm/arch-omap3/mmc_host_def.h
index aa751c9a346..3e717343dd3 100644
--- a/include/asm-arm/arch-omap3/mmc_host_def.h
+++ b/include/asm-arm/arch-omap3/mmc_host_def.h
@@ -31,15 +31,19 @@
typedef struct t2 {
unsigned char res1[0x274];
unsigned int devconf0; /* 0x274 */
- unsigned char res2[0x2A8];
+ unsigned char res2[0x60];
+ unsigned int devconf1; /* 0x2D8 */
+ unsigned char res3[0x244];
unsigned int pbias_lite; /* 0x520 */
} t2_t;
#define MMCSDIO1ADPCLKISEL (1 << 24)
+#define MMCSDIO2ADPCLKISEL (1 << 6)
#define PBIASLITEPWRDNZ0 (1 << 1)
#define PBIASSPEEDCTRL0 (1 << 2)
#define PBIASLITEPWRDNZ1 (1 << 9)
+#define PBIASSPEEDCTRL1 (1 << 10)
/*
* OMAP HSMMC register definitions