[coreboot] [commit] r5041 - trunk/util/x86emu/yabel
svn at coreboot.org
svn at coreboot.org
Tue Jan 19 22:14:24 CET 2010
Author: stepan
Date: 2010-01-19 22:14:24 +0100 (Tue, 19 Jan 2010)
New Revision: 5041
Modified:
trunk/util/x86emu/yabel/device.c
Log:
dev->rom_address was dropped a while ago which broke yabel. This patch fixes it
again.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/util/x86emu/yabel/device.c
===================================================================
--- trunk/util/x86emu/yabel/device.c 2010-01-19 21:13:44 UTC (rev 5040)
+++ trunk/util/x86emu/yabel/device.c 2010-01-19 21:14:24 UTC (rev 5041)
@@ -71,7 +71,7 @@
translate_address_array[taa_index].bus = bus;
translate_address_array[taa_index].devfn = devfn;
translate_address_array[taa_index].cfg_space_offset = 0x30;
- translate_address_array[taa_index].address = bios_device.dev->rom_address;
+ translate_address_array[taa_index].address = bios_device.img_addr;
translate_address_array[taa_index].size = 0; /* TODO: do we need the size? */
/* dont translate addresses... all addresses are 1:1 */
translate_address_array[taa_index].address_offset = 0;
More information about the coreboot
mailing list