diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2015-09-04 14:15:36 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-10 09:54:38 +0000 |
commit | cdcadfef07e0a4c64eef324e83984e3c0e03b0a2 (patch) | |
tree | 685a9137a3c39dad1009a5c6cf46f3d6ada13f61 /src/mainboard/google | |
parent | 4bf410aa291ba4e6ea133f7c80d92af0ed59a476 (diff) |
glados: Remove functions from acpi_tables.c
Remove the acpi_tables.c functions so these functions can move to
SOC init code. The file itself is included by x86/arch code and
must exist for the build to succeed.
BUG=chrome-os-partner:40635
BRANCH=none
TEST=emerge-glados coreboot
Change-Id: I18e6a0be5eac053598b613b30b622c4963417919
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: af04eb112adf58578c8d2c9d3d182d4c2024abb2
Original-Change-Id: Ibe026d493c25d771357ea39e4b956629fbb799ac
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/297758
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11579
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/glados/acpi_tables.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mainboard/google/glados/acpi_tables.c b/src/mainboard/google/glados/acpi_tables.c index 6da1e1d9a7..6b6e038b7a 100644 --- a/src/mainboard/google/glados/acpi_tables.c +++ b/src/mainboard/google/glados/acpi_tables.c @@ -17,25 +17,3 @@ * along with this program; if not, write to the Free Software * Foundation, Inc. */ - -#include <arch/acpi.h> -#include <arch/ioapic.h> -#include <soc/acpi.h> -#include <soc/nvs.h> - -void acpi_create_gnvs(global_nvs_t *gnvs) -{ - acpi_init_gnvs(gnvs); -} - -unsigned long acpi_fill_madt(unsigned long current) -{ - /* Local APICs */ - current = acpi_create_madt_lapics(current); - - /* IOAPIC */ - current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current, - 2, IO_APIC_ADDR, 0); - - return acpi_madt_irq_overrides(current); -} |