summaryrefslogtreecommitdiff
path: root/hw/gumstix.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-10 00:28:27 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-10 00:28:27 +0000
commit88eeee0a31c696b26f8df3dfe2221b955f8d878e (patch)
treeb20e27ed080dc3a0d8657635447a918f814e87b7 /hw/gumstix.c
parent52fc1d83bc50b0b6fc6861cfecc5763edbad7e60 (diff)
downloadqemu-88eeee0a31c696b26f8df3dfe2221b955f8d878e.tar.gz
Desambiguate pflash_register().
pflash_t is still ambiguous... perhaps both emulations should sit in a single file. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3794 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/gumstix.c')
-rw-r--r--hw/gumstix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/gumstix.c b/hw/gumstix.c
index 21325177c5..2cf52f9c07 100644
--- a/hw/gumstix.c
+++ b/hw/gumstix.c
@@ -67,7 +67,7 @@ static void connex_init(int ram_size, int vga_ram_size,
exit(1);
}
- if (!pflash_register(0x00000000, qemu_ram_alloc(connex_rom),
+ if (!pflash_cfi01_register(0x00000000, qemu_ram_alloc(connex_rom),
drives_table[index].bdrv, sector_len, connex_rom / sector_len,
2, 0, 0, 0, 0)) {
fprintf(stderr, "qemu: Error registering flash memory.\n");
@@ -107,7 +107,7 @@ static void verdex_init(int ram_size, int vga_ram_size,
exit(1);
}
- if (!pflash_register(0x00000000, qemu_ram_alloc(verdex_rom),
+ if (!pflash_cfi01_register(0x00000000, qemu_ram_alloc(verdex_rom),
drives_table[index].bdrv, sector_len, verdex_rom / sector_len,
2, 0, 0, 0, 0)) {
fprintf(stderr, "qemu: Error registering flash memory.\n");