summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-10-05 14:34:17 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-10-11 04:08:42 +0200
commit0a66991a345f437e957ecc0ddeed70bc304d2a43 (patch)
tree58c9387203f87d7072a0cca03fa87a3dce920d27 /src/mainboard
parent334fd8e28b6f572dc8a82c7969696c6072709583 (diff)
acpi: Remove explicit pointer tracking in per-device ssdt.
It's useless and error-prone. Change-Id: Ie385e147d42b05290ab8c3ca193c5c871306f4ac Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7018 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/x201/mainboard.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c
index 57ef86dd2a..5b76be2734 100644
--- a/src/mainboard/lenovo/x201/mainboard.c
+++ b/src/mainboard/lenovo/x201/mainboard.c
@@ -112,11 +112,9 @@ static void mainboard_init(device_t dev)
0x42, 0x142);
}
-static unsigned long fill_ssdt(unsigned long current,
- const char *oem_table_id)
+static void fill_ssdt(void)
{
drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0);
- return (unsigned long) (acpigen_get_current());
}
static void mainboard_enable(device_t dev)