summaryrefslogtreecommitdiff
path: root/src/arch/arm64/tables.c
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@se-eng.com>2015-01-16 13:45:23 -0700
committerMarc Jones <marc.jones@se-eng.com>2015-01-26 11:41:06 +0100
commit17b9c198e0ebbd79d1b581eba0810a4c7979f012 (patch)
tree41eade9129f8d0cfcea7287dd1ffa3a724bb2eb4 /src/arch/arm64/tables.c
parentc4dbdaf50a8fa67e0d17e237eb0dcb6309240dd6 (diff)
arm64: Prepare ARM64 for building
There were a number of issues with the ARM64 build files. This patch ports the following changes from ARMV4/V7 to ARMV8: - make armv8 Kconfig options consistent with armv4/v7 - fix build include issues in boot.c, tables.c, and early_variables.h by matching armv4/v7. Change-Id: I57359a96821d88c50f48dc0bb6ad226cacb0c2ec Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Iacd95d336559c45458784d1da67bde62a0956620 Reviewed-on: http://review.coreboot.org/8236 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64/tables.c')
-rw-r--r--src/arch/arm64/tables.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/arm64/tables.c b/src/arch/arm64/tables.c
index ce7ad5ae5e..a2b7b9b179 100644
--- a/src/arch/arm64/tables.c
+++ b/src/arch/arm64/tables.c
@@ -33,7 +33,11 @@ void cbmem_arch_init(void)
{
}
-struct lb_memory *write_tables(void)
+void cbmem_fail_resume(void)
+{
+}
+
+void write_tables(void)
{
unsigned long table_pointer, new_table_pointer;
@@ -43,7 +47,7 @@ struct lb_memory *write_tables(void)
MAX_COREBOOT_TABLE_SIZE);
if (!table_pointer) {
printk(BIOS_ERR, "Could not add CBMEM for coreboot table.\n");
- return NULL;
+ return;
}
new_table_pointer = write_coreboot_table(0UL, 0UL,
@@ -61,6 +65,4 @@ struct lb_memory *write_tables(void)
/* Print CBMEM sections */
cbmem_list();
-
- return get_lb_mem();
}