diff options
Diffstat (limited to 'hw/arm/imx25_pdk.c')
-rw-r--r-- | hw/arm/imx25_pdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index bd16acd..6dff000 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -123,7 +123,7 @@ static void imx25_pdk_init(MachineState *machine) DriveInfo *di; BlockBackend *blk; - di = drive_get_next(IF_SD); + di = drive_get(IF_SD, 0, i); blk = di ? blk_by_legacy_dinfo(di) : NULL; bus = qdev_get_child_bus(DEVICE(&s->soc.esdhc[i]), "sd-bus"); carddev = qdev_new(TYPE_SD_CARD); |