r3725 - trunk/src/host/qemu-neo1973/hw

andrew at sita.openmoko.org andrew at sita.openmoko.org
Sat Dec 22 03:30:18 CET 2007


Author: andrew
Date: 2007-12-22 03:30:17 +0100 (Sat, 22 Dec 2007)
New Revision: 3725

Modified:
   trunk/src/host/qemu-neo1973/hw/sd.c
Log:
Fix errors and warnings resulting from new SDIO only states.


Modified: trunk/src/host/qemu-neo1973/hw/sd.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/sd.c	2007-12-22 02:24:37 UTC (rev 3724)
+++ trunk/src/host/qemu-neo1973/hw/sd.c	2007-12-22 02:30:17 UTC (rev 3725)
@@ -61,7 +61,7 @@
         sd_card_identification_mode,
         sd_data_transfer_mode,
     } mode;
-    enum st_state_e state;
+    enum sd_state_e state;
     uint32_t ocr;
     uint8_t scr[8];
     uint8_t cid[16];
@@ -111,6 +111,7 @@
     case sd_receivingdata_state:
     case sd_programming_state:
     case sd_disconnect_state:
+    case sd_command_state:
         sd->mode = sd_data_transfer_mode;
         break;
     }





More information about the commitlog mailing list