aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/placeholders.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-10-30 14:36:11 -0500
committerAaron Durbin <adurbin@google.com>2014-02-27 06:34:05 +0100
commit61cd57ba36cc69aba2d6feb3be6398e4d4f46f68 (patch)
tree725f518a2b359bccd136b33128f9e6226e499b9a /src/soc/intel/baytrail/placeholders.c
parent0854c84735175ea29c8df74dd9d7124a0c1a415b (diff)
baytrail: fix uninitialized acpi structures
The callers of the following functions assume the storage area provided by the pointers is initialized. That's not the case as these were just place holders. - void acpi_create_intel_hpet(acpi_hpet_t * hpet); - void acpi_create_serialio_ssdt(acpi_header_t *ssdt); To fix this properly initialize the hpet entry, and just remove the serialio_ssdt function entirely. BUG=chrome-os-partner:23505 BRANCH=None TEST=Built and booted through depthcharge on rambi. Noted no more ACPI errors relating to invalid length. Change-Id: If56ab033562ef2d755e9c9de42f507c95d291aba Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174716 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/4917 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/soc/intel/baytrail/placeholders.c')
-rw-r--r--src/soc/intel/baytrail/placeholders.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/baytrail/placeholders.c b/src/soc/intel/baytrail/placeholders.c
index 63f0fb3052..5267927876 100644
--- a/src/soc/intel/baytrail/placeholders.c
+++ b/src/soc/intel/baytrail/placeholders.c
@@ -7,10 +7,6 @@
void generate_cpu_entries(void) {}
-void acpi_create_intel_hpet(acpi_hpet_t * hpet) {}
-
-void acpi_create_serialio_ssdt(acpi_header_t *ssdt) {}
-
unsigned long acpi_fill_mcfg(unsigned long current) { return current; }
void smm_init(void) {}