diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -421,6 +421,7 @@ SDState *sd_init(BlockDriverState *bs, int is_spi) sd = (SDState *) qemu_mallocz(sizeof(SDState)); sd->buf = qemu_memalign(512, 512); sd->spi = is_spi; + sd->enable = 1; sd_reset(sd, bs); bdrv_set_change_cb(sd->bdrv, sd_cardchange, sd); return sd; |