提交 45e7e4bc 编写于 作者: A Aurelien Jarno

r2d: fix pflash mapping

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 d1d74664
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册