projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d7466
)
r2d: fix pflash mapping
author
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 17 Jun 2010 20:19:53 +0000
(22:19 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 29 Jun 2010 21:26:34 +0000
(23:26 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/r2d.c
patch
|
blob
|
history
diff --git
a/hw/r2d.c
b/hw/r2d.c
index 38c4f6a051d4ec1b4d4ff65f3a6fae052eaf18ca..bc2575656c5946f328a8406491d707e178cef762 100644
(file)
--- a/
hw/r2d.c
+++ b/
hw/r2d.c
@@
-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,