diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-02 00:55:08 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-02 00:55:08 +0000 |
commit | 4872aa135da0409811968ae295e1f45c065d26b4 (patch) | |
tree | c3c002a6ec0469fe44af3a8b119a609d416d4c3b | |
parent | 130b0c986836773492c60895bcdb4114964d361a (diff) |
Enable SD card on creation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4640 c046a42c-6fe2-441c-8c8c-71466251a162
-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; |