diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-18 21:37:55 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-12-21 05:01:31 +0100 |
commit | 53bb8cc4855827f2981bf0566076233573a05bd7 (patch) | |
tree | ed473e8d7151bd594b5aa2b6a7d93219708e4d7f /qapi/qmp-registry.c | |
parent | e30d59388bab90418b414c1f29d5779361d31ffe (diff) |
hw/sd.c: Handle illegal commands in sd_do_command
Add an extra sd_illegal value to the sd_rsp_type_t enum so that
sd_app_command() and sd_normal_command() can tell sd_do_command()
that the command was illegal. This is needed so we can do things
like reset certain status bits only on receipt of a valid command.
For the moment, just use it to pull out the setting of the
ILLEGAL_COMMAND status bit into sd_do_command().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'qapi/qmp-registry.c')
0 files changed, 0 insertions, 0 deletions