]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/arm/digic_boards.c
Revert "vl: Fix to create migration object before block backends again"
[mirror_qemu.git] / hw / arm / digic_boards.c
index 9f11dcd11fbb6bd9cf62f105c74b278324417ae2..304e4d1a2943e1ff37ebdc22e6eb3a40565beb1f 100644 (file)
@@ -129,9 +129,8 @@ static void digic4_add_k8p3215uqb_rom(DigicBoardState *s, hwaddr addr,
 #define FLASH_K8P3215UQB_SIZE (4 * 1024 * 1024)
 #define FLASH_K8P3215UQB_SECTOR_SIZE (64 * 1024)
 
-    pflash_cfi02_register(addr, NULL, "pflash", FLASH_K8P3215UQB_SIZE,
+    pflash_cfi02_register(addr, "pflash", FLASH_K8P3215UQB_SIZE,
                           NULL, FLASH_K8P3215UQB_SECTOR_SIZE,
-                          FLASH_K8P3215UQB_SIZE / FLASH_K8P3215UQB_SECTOR_SIZE,
                           DIGIC4_ROM_MAX_SIZE / FLASH_K8P3215UQB_SIZE,
                           4,
                           0x00EC, 0x007E, 0x0003, 0x0001,