See patch

-- 
coresystems GmbH . Brahmsstr. 16 . D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 . Fax: +49 761 7664613
Email: i...@coresystems.de  . http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg . HRB 7656
Geschäftsführer: Stefan Reinauer . Ust-IdNr.: DE245674866

dev->rom_address was dropped a while ago which broke yabel. This patch fixes it
again.

Signed-off-by: Stefan Reinauer <ste...@coresystems.de>

--- util/x86emu/yabel/device.c  (.../branches/upstream/coreboot)        
+++ util/x86emu/yabel/device.c  (.../trunk/coreboot)    
@@ -75,7 +75,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;
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to