From a0546da57a79499662f9f82590d1ef6fa18ed893 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 19 Apr 2016 15:17:08 -0500 Subject: arch: use Kconfig variable for coreboot table size Instead of hard coding a #define in each architecture's tables.c for the coreboot table size in cbmem use a Kconfig varible. This aids in aligning on a common write_tables() implementation instead of duplicating the code for each architecture. Change-Id: I09c0f56133606ea62e9a9c4c6b9828bc24dcc668 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/14429 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Patrick Georgi --- src/arch/mips/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/mips') diff --git a/src/arch/mips/tables.c b/src/arch/mips/tables.c index 717b7fdfc0..2083442f29 100644 --- a/src/arch/mips/tables.c +++ b/src/arch/mips/tables.c @@ -24,7 +24,7 @@ #include #include -#define MAX_COREBOOT_TABLE_SIZE (8 * 1024) +#define MAX_COREBOOT_TABLE_SIZE CONFIG_COREBOOT_TABLE_SIZE void write_tables(void) { -- cgit v1.2.3