From 775a766462a84385d9be10a3c1fe4799db5811f4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 19 Jan 2010 21:14:24 +0000 Subject: dev->rom_address was dropped a while ago which broke yabel. This patch fixes it again. Signed-off-by: Stefan Reinauer Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5041 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/x86emu/yabel/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/x86emu/yabel/device.c b/util/x86emu/yabel/device.c index 6804c66755..60bad5c122 100644 --- a/util/x86emu/yabel/device.c +++ b/util/x86emu/yabel/device.c @@ -71,7 +71,7 @@ biosemu_dev_get_addr_info(void) 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; -- cgit v1.2.3