projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TI: OMAP3: Remove SZ_xx references
[oweals/u-boot.git]
/
include
/
mmc.h
diff --git
a/include/mmc.h
b/include/mmc.h
index b9b27ba1817ec07ec0f3290aae1bff06acb88c25..2dc69abb68e9fc3c1909cbfceb894055947cd24c 100644
(file)
--- a/
include/mmc.h
+++ b/
include/mmc.h
@@
-47,7
+47,7
@@
#define SD_DATA_4BIT 0x00040000
#define SD_DATA_4BIT 0x00040000
-#define IS_SD(x) (
mmc
->version & SD_VERSION_SD)
+#define IS_SD(x) (
x
->version & SD_VERSION_SD)
#define MMC_DATA_READ 1
#define MMC_DATA_WRITE 2
#define MMC_DATA_READ 1
#define MMC_DATA_WRITE 2
@@
-91,7
+91,7
@@
#define MMC_HS_TIMING 0x00000100
#define MMC_HS_52MHZ 0x2
#define MMC_HS_TIMING 0x00000100
#define MMC_HS_52MHZ 0x2
-#define OCR_BUSY 0x80
+#define OCR_BUSY 0x80
000000
#define OCR_HCS 0x40000000
#define MMC_VDD_165_195 0x00000080 /* VDD voltage 1.65 - 1.95 */
#define OCR_HCS 0x40000000
#define MMC_VDD_165_195 0x00000080 /* VDD voltage 1.65 - 1.95 */
@@
-223,7
+223,7
@@
struct mmc_cmd {
ushort cmdidx;
uint resp_type;
uint cmdarg;
ushort cmdidx;
uint resp_type;
uint cmdarg;
-
char response[18
];
+
uint response[4
];
uint flags;
};
uint flags;
};
@@
-253,7
+253,7
@@
struct mmc {
uint ocr;
uint scr[2];
uint csd[4];
uint ocr;
uint scr[2];
uint csd[4];
-
char cid[16
];
+
uint cid[4
];
ushort rca;
uint tran_speed;
uint read_bl_len;
ushort rca;
uint tran_speed;
uint read_bl_len;