aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa2xx_mmci.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/pxa2xx_mmci.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/pxa2xx_mmci.c')
-rw-r--r--hw/pxa2xx_mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx_mmci.c b/hw/pxa2xx_mmci.c
index 9d26b79..32b6a6f 100644
--- a/hw/pxa2xx_mmci.c
+++ b/hw/pxa2xx_mmci.c
@@ -538,7 +538,7 @@ struct pxa2xx_mmci_s *pxa2xx_mmci_init(target_phys_addr_t base,
cpu_register_physical_memory(base, 0x00100000, iomemtype);
/* Instantiate the actual storage */
- s->card = sd_init(bd);
+ s->card = sd_init(bd, 1);
register_savevm("pxa2xx_mmci", 0, 0,
pxa2xx_mmci_save, pxa2xx_mmci_load, s);