summaryrefslogtreecommitdiff
path: root/src/lib/coreboot_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/coreboot_table.c')
-rw-r--r--src/lib/coreboot_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index 58c6f48cbf..4dbac1930d 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -15,6 +15,7 @@
* GNU General Public License for more details.
*/
+#include <arch/cbconfig.h>
#include <console/console.h>
#include <console/uart.h>
#include <ip_checksum.h>
@@ -560,7 +561,7 @@ void write_tables(void)
uintptr_t cbtable_start;
uintptr_t cbtable_end;
size_t cbtable_size;
- const size_t max_table_size = CONFIG_COREBOOT_TABLE_SIZE;
+ const size_t max_table_size = COREBOOT_TABLE_SIZE;
cbtable_start = (uintptr_t)cbmem_add(CBMEM_ID_CBTABLE, max_table_size);