Revision 88eeee0a hw/gumstix.c
b/hw/gumstix.c | ||
---|---|---|
67 | 67 |
exit(1); |
68 | 68 |
} |
69 | 69 |
|
70 |
if (!pflash_register(0x00000000, qemu_ram_alloc(connex_rom), |
|
70 |
if (!pflash_cfi01_register(0x00000000, qemu_ram_alloc(connex_rom),
|
|
71 | 71 |
drives_table[index].bdrv, sector_len, connex_rom / sector_len, |
72 | 72 |
2, 0, 0, 0, 0)) { |
73 | 73 |
fprintf(stderr, "qemu: Error registering flash memory.\n"); |
... | ... | |
107 | 107 |
exit(1); |
108 | 108 |
} |
109 | 109 |
|
110 |
if (!pflash_register(0x00000000, qemu_ram_alloc(verdex_rom), |
|
110 |
if (!pflash_cfi01_register(0x00000000, qemu_ram_alloc(verdex_rom),
|
|
111 | 111 |
drives_table[index].bdrv, sector_len, verdex_rom / sector_len, |
112 | 112 |
2, 0, 0, 0, 0)) { |
113 | 113 |
fprintf(stderr, "qemu: Error registering flash memory.\n"); |
Also available in: Unified diff