aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa2xx_mmci.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 23:55:52 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-24 23:55:52 +0000
commitc81b74018df51d5e04fad731d1e159e524189e44 (patch)
treec36fe0b27e746e5c17600b2be8032915d7e0cde9 /hw/pxa2xx_mmci.c
parent3e3f67547b2007592960e5b2d01f53a1ee0d863a (diff)
downloadqemu-c81b74018df51d5e04fad731d1e159e524189e44.zip
qemu-c81b74018df51d5e04fad731d1e159e524189e44.tar.gz
qemu-c81b74018df51d5e04fad731d1e159e524189e44.tar.bz2
Fix SD init arguments.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3733 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 32b6a6f..60e7ba4e 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, 1);
+ s->card = sd_init(bd, 0);
register_savevm("pxa2xx_mmci", 0, 0,
pxa2xx_mmci_save, pxa2xx_mmci_load, s);