summaryrefslogtreecommitdiff
path: root/src/arch/x86/tables.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-04-19 16:11:22 -0500
committerAaron Durbin <adurbin@chromium.org>2016-04-21 20:44:04 +0200
commitdcee908921444282c82c4cdde455c8819e3965af (patch)
tree834311f6fead426c39af46e2cf507a8b2d25e751 /src/arch/x86/tables.c
parent86cbfa00d00da2786e3a43edd3cf173739f99cba (diff)
downloadcoreboot-dcee908921444282c82c4cdde455c8819e3965af.tar.xz
arch/x86: remove low coreboot table support
In addition to being consistent with all other architectures, all chipsets support cbmem so the low coreboot table path is stale and never taken. Also it's important to note the memory written in to that low area of memory wasn't automatically reserved unless that path was taken. To that end remove low coreboot table support for x86. Change-Id: Ib96338cf3024e3aa34931c53a7318f40185be34c Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14432 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86/tables.c')
-rw-r--r--src/arch/x86/tables.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c
index 309ac16843..b36078d2e1 100644
--- a/src/arch/x86/tables.c
+++ b/src/arch/x86/tables.c
@@ -183,7 +183,7 @@ static unsigned long write_smbios_table(unsigned long rom_table_end)
void write_tables(void)
{
unsigned long low_table_start, low_table_end;
- unsigned long rom_table_start, rom_table_end;
+ unsigned long rom_table_end;
/* Even if high tables are configured, some tables are copied both to
* the low and the high area, so payloads and OSes don't need to know
@@ -191,7 +191,6 @@ void write_tables(void)
*/
unsigned long high_table_pointer;
- rom_table_start = 0xf0000;
rom_table_end = 0xf0000;
/* Start low addr at 0x500, so we don't run into conflicts with the BDA
@@ -242,8 +241,6 @@ void write_tables(void)
printk(BIOS_DEBUG, "coreboot table: %ld bytes.\n",
new_high_table_pointer - high_table_pointer);
} else {
- /* The coreboot table must be in 0-4K or 960K-1M */
- write_coreboot_table(low_table_start, low_table_end,
- rom_table_start, rom_table_end);
+ printk(BIOS_ERR, "Could not add CBMEM for coreboot table.\n");
}
}