mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
sd: pass bool parameter for sd_init
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
e990a39328
commit
6790f59da3
6 changed files with 7 additions and 7 deletions
|
@ -592,7 +592,7 @@ struct omap_mmc_s *omap_mmc_init(hwaddr base,
|
|||
memory_region_add_subregion(sysmem, base, &s->iomem);
|
||||
|
||||
/* Instantiate the storage */
|
||||
s->card = sd_init(bd, 0);
|
||||
s->card = sd_init(bd, false);
|
||||
|
||||
return s;
|
||||
}
|
||||
|
@ -617,7 +617,7 @@ struct omap_mmc_s *omap2_mmc_init(struct omap_target_agent_s *ta,
|
|||
omap_l4_attach(ta, 0, &s->iomem);
|
||||
|
||||
/* Instantiate the storage */
|
||||
s->card = sd_init(bd, 0);
|
||||
s->card = sd_init(bd, false);
|
||||
|
||||
s->cdet = qemu_allocate_irqs(omap_mmc_cover_cb, s, 1)[0];
|
||||
sd_set_cb(s->card, NULL, s->cdet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue