summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorJosef Kellermann <Joseph.Kellermann@heitec.de>2011-01-24 21:07:57 +0000
committerStefan Reinauer <stepan@openbios.org>2011-01-24 21:07:57 +0000
commit679d38b7a2af32ac82350561810d9ba20b1a9917 (patch)
treeddf44f84fb09a6e79c2edb0720c3bb1f07312f19 /src/arch
parent6e296653091e0258b5cc49769db48e3b61ecae44 (diff)
This patch fixes an 'write_tables: coreboot table didn't fit (f0221)' issue.
Signed-off-by: Josef Kellermann <Joseph.Kellermann@heitec.de> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6295 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/coreboot_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/boot/coreboot_table.c b/src/arch/x86/boot/coreboot_table.c
index d883d2d6af..49cdb29356 100644
--- a/src/arch/x86/boot/coreboot_table.c
+++ b/src/arch/x86/boot/coreboot_table.c
@@ -547,7 +547,7 @@ unsigned long write_coreboot_table(
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 {