diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-18 21:37:52 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-12-21 05:01:17 +0100 |
commit | b8d334c828f14a341e18bcc123b303ec29f8df76 (patch) | |
tree | 5e5b826f8693f064586a9fa49f60354b5c6e7b65 /hw/sd.c | |
parent | 25881d33905798e6fddda3827b4345e867c02b7f (diff) |
hw/sd.c: Add comment regarding CARD_STATUS_* defines
Add a clarifying comment about what the CARD_STATUS_[ABC]
macros are defining.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/sd.c')
-rw-r--r-- | hw/sd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -309,6 +309,11 @@ static void sd_set_rca(SDState *sd) sd->rca += 0x4567; } +/* Card status bits, split by clear condition: + * A : According to the card current state + * B : Always related to the previous command + * C : Cleared by read + */ #define CARD_STATUS_A 0x02004100 #define CARD_STATUS_B 0x00c01e00 #define CARD_STATUS_C 0xfd39a028 |