From cd2c3334c4fa80a8c0822021100adf44555252da Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Tue, 14 Nov 2017 18:37:49 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/21672 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/asus/p2b-ls/acpi_tables.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/mainboard/asus/p2b-ls/acpi_tables.c (limited to 'src/mainboard/asus/p2b-ls/acpi_tables.c') 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 + * + * 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 + +unsigned long acpi_fill_madt(unsigned long current) +{ + /* mainboard has no ioapic */ + return current; +} -- cgit v1.2.3