git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: Test bus-width for old MMC devices
[pandora-kernel.git]
/
drivers
/
mmc
/
host
/
sdhci.h
diff --git
a/drivers/mmc/host/sdhci.h
b/drivers/mmc/host/sdhci.h
index
1efe7dc
..
6e0969e
100644
(file)
--- a/
drivers/mmc/host/sdhci.h
+++ b/
drivers/mmc/host/sdhci.h
@@
-52,6
+52,7
@@
#define SDHCI_CMD_RESP_SHORT_BUSY 0x03
#define SDHCI_MAKE_CMD(c, f) (((c & 0xff) << 8) | (f & 0xff))
+#define SDHCI_GET_CMD(c) ((c>>8) & 0x3f)
#define SDHCI_RESPONSE 0x10