Author: stepan Date: Mon Jan 24 22:07:57 2011 New Revision: 6295 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6295
Log: This patch fixes an 'write_tables: coreboot table didn't fit (f0221)' issue. Signed-off-by: Josef Kellermann <joseph.kellerm...@heitec.de> Acked-by: Stefan Reinauer <stefan.reina...@coreboot.org> Modified: trunk/src/arch/x86/boot/coreboot_table.c Modified: trunk/src/arch/x86/boot/coreboot_table.c ============================================================================== --- trunk/src/arch/x86/boot/coreboot_table.c Mon Jan 24 22:05:53 2011 (r6294) +++ trunk/src/arch/x86/boot/coreboot_table.c Mon Jan 24 22:07:57 2011 (r6295) @@ -547,7 +547,7 @@ if (option_table) { struct lb_record *rec_dest = lb_new_record(head); /* Copy the option config table, it's already a lb_record... */ - memcpy(rec_dest, &option_table, option_table->size); + memcpy(rec_dest, option_table, option_table->size); /* Create cmos checksum entry in coreboot table */ lb_cmos_checksum(head); } else { -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot