diff options
Diffstat (limited to 'hw/pflash_cfi02.c')
-rw-r--r-- | hw/pflash_cfi02.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index 4dbec8721e..e5a63da595 100644 --- a/hw/pflash_cfi02.c +++ b/hw/pflash_cfi02.c @@ -641,6 +641,7 @@ pflash_t *pflash_cfi02_register(target_phys_addr_t base, g_free(pfl); return NULL; } + bdrv_attach_dev_nofail(pfl->bs, pfl); } pflash_setup_mappings(pfl); pfl->rom_mode = 1; |