Commit c81b74018df51d5e04fad731d1e159e524189e44

Authored by pbrook
1 parent 3e3f6754

Fix SD init arguments.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3733 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/pxa2xx_mmci.c
@@ -538,7 +538,7 @@ struct pxa2xx_mmci_s *pxa2xx_mmci_init(target_phys_addr_t base, @@ -538,7 +538,7 @@ struct pxa2xx_mmci_s *pxa2xx_mmci_init(target_phys_addr_t base,
538 cpu_register_physical_memory(base, 0x00100000, iomemtype); 538 cpu_register_physical_memory(base, 0x00100000, iomemtype);
539 539
540 /* Instantiate the actual storage */ 540 /* Instantiate the actual storage */
541 - s->card = sd_init(bd, 1); 541 + s->card = sd_init(bd, 0);
542 542
543 register_savevm("pxa2xx_mmci", 0, 0, 543 register_savevm("pxa2xx_mmci", 0, 0,
544 pxa2xx_mmci_save, pxa2xx_mmci_load, s); 544 pxa2xx_mmci_save, pxa2xx_mmci_load, s);