summaryrefslogtreecommitdiff
path: root/src/arch/x86/boot/coreboot_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/boot/coreboot_table.c')
-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 18ec6d8c3c..8dccd77287 100644
--- a/src/arch/x86/boot/coreboot_table.c
+++ b/src/arch/x86/boot/coreboot_table.c
@@ -251,7 +251,7 @@ static void add_cbmem_pointers(struct lb_header *header)
}
cbmem_ref->tag = sid->table_tag;
cbmem_ref->size = sizeof(*cbmem_ref);
- cbmem_ref->cbmem_addr = cbmem_addr;
+ cbmem_ref->cbmem_addr = (unsigned long)cbmem_addr;
}
}