[coreboot] [commit] r6295 - trunk/src/arch/x86/boot

repository service svn at coreboot.org
Mon Jan 24 22:07:58 CET 2011


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.Kellermann at heitec.de>
Acked-by: Stefan Reinauer <stefan.reinauer at 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 {




More information about the coreboot mailing list