aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p2b-ls/acpi_tables.c
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2017-11-14 18:37:49 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-12-07 19:20:42 +0000
commitcd2c3334c4fa80a8c0822021100adf44555252da (patch)
treebc4ee259bf0cb3fa09796b754931a3b61cc3bab3 /src/mainboard/asus/p2b-ls/acpi_tables.c
parent97041de909b5468c1a62afd5e38bf59c6b5c7881 (diff)
asus/p2b-ls: Add ACPI tables
Add ACPI tables support that will be needed for soft-off and S3 resume in the future. Boot tested for soft-off. Change-Id: I28b559406bd53efc555dcbb8282dfe2bd6d1af87 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/21672 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/asus/p2b-ls/acpi_tables.c')
-rw-r--r--src/mainboard/asus/p2b-ls/acpi_tables.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainboard/asus/p2b-ls/acpi_tables.c b/src/mainboard/asus/p2b-ls/acpi_tables.c
new file mode 100644
index 0000000000..d740ee1c5a
--- /dev/null
+++ b/src/mainboard/asus/p2b-ls/acpi_tables.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2010 Tobias Diedrich <ranma+coreboot@tdiedrich.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <arch/acpi.h>
+
+unsigned long acpi_fill_madt(unsigned long current)
+{
+ /* mainboard has no ioapic */
+ return current;
+}