diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-17 22:19:53 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-29 23:26:34 +0200 |
commit | b0f1236a3008f16e75460d7a091b9853299a94cd (patch) | |
tree | 01f15a6fb54c61cbc2a980089e5f9b63f263cff2 | |
parent | ebc07cc1ef06a3ccf0b04ea5f654d8780b326884 (diff) | |
download | qemu-b0f1236a3008f16e75460d7a091b9853299a94cd.tar.gz qemu-b0f1236a3008f16e75460d7a091b9853299a94cd.tar.bz2 qemu-b0f1236a3008f16e75460d7a091b9853299a94cd.zip |
r2d: fix pflash mapping
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | hw/r2d.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -257,6 +257,7 @@ static void r2d_init(ram_addr_t ram_size, dinfo, NULL); /* onboard flash memory */ + dinfo = drive_get(IF_PFLASH, 0, 0); pflash_cfi02_register(0x0, qemu_ram_alloc(FLASH_SIZE), dinfo ? dinfo->bdrv : NULL, (16 * 1024), FLASH_SIZE >> 16, |