Commit 184adf20 authored by Wolfram Sang's avatar Wolfram Sang Committed by Ulf Hansson

mmc: tmio: document CTL_STATUS handling

Now that reading CTL_STATUS is consistent, we can remove CTL_STATUS2 and
document how this is handled internally.
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent a21553c9
...@@ -30,8 +30,9 @@ ...@@ -30,8 +30,9 @@
#define CTL_STOP_INTERNAL_ACTION 0x08 #define CTL_STOP_INTERNAL_ACTION 0x08
#define CTL_XFER_BLK_COUNT 0xa #define CTL_XFER_BLK_COUNT 0xa
#define CTL_RESPONSE 0x0c #define CTL_RESPONSE 0x0c
/* driver merges STATUS and following STATUS2 */
#define CTL_STATUS 0x1c #define CTL_STATUS 0x1c
#define CTL_STATUS2 0x1e /* driver merges IRQ_MASK and following IRQ_MASK2 */
#define CTL_IRQ_MASK 0x20 #define CTL_IRQ_MASK 0x20
#define CTL_SD_CARD_CLK_CTL 0x24 #define CTL_SD_CARD_CLK_CTL 0x24
#define CTL_SD_XFER_LEN 0x26 #define CTL_SD_XFER_LEN 0x26
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment