aboutsummaryrefslogtreecommitdiff
path: root/hw/ssd0323.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 23:35:08 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 23:35:08 +0000
commit775616c3ae8c9bdd43d57274f259b09ae87217b0 (patch)
tree0c27d7758d5f3ab8d89fcaa3e9ab181366dc1cae /hw/ssd0323.c
parentf3b9f954326d5010c7215a3a023264204afd3c42 (diff)
downloadqemu-775616c3ae8c9bdd43d57274f259b09ae87217b0.zip
qemu-775616c3ae8c9bdd43d57274f259b09ae87217b0.tar.gz
qemu-775616c3ae8c9bdd43d57274f259b09ae87217b0.tar.bz2
Partial SD card SPI mode support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3731 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ssd0323.c')
-rw-r--r--hw/ssd0323.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ssd0323.c b/hw/ssd0323.c
index c31e49a..4706b05 100644
--- a/hw/ssd0323.c
+++ b/hw/ssd0323.c
@@ -157,6 +157,9 @@ int ssd0323_xfer_ssi(void *opaque, int data)
case 0xe3: /* NOP. */
DATA(0);
break;
+ case 0xff: /* Nasty hack because we don't handle chip selects
+ properly. */
+ break;
default:
BADF("Unknown command: 0x%x\n", data);
}