summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-05-07 18:26:15 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-05-11 09:14:19 +0000
commit056cbbe3f5d316cb41f93172b8c2e0b131f8b6ea (patch)
tree587b15a5bc0a8cec6f927118d9c539ee3f07bf8b /src/mainboard/asrock
parent0cf89bf20a4f592754a60a1c519b8c20d2a823d3 (diff)
asrock/b75pro3-m: Add superio ACPI declarations
Without it the PS/2 keyboard doesn't work after booting into the OS. Change-Id: Idcb0ea0779fcd5dfd6e0fbf33a532ecf0caec420 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/26131 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/b75pro3-m/acpi/superio.asl26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/acpi/superio.asl b/src/mainboard/asrock/b75pro3-m/acpi/superio.asl
index e69de29bb2..1253d87823 100644
--- a/src/mainboard/asrock/b75pro3-m/acpi/superio.asl
+++ b/src/mainboard/asrock/b75pro3-m/acpi/superio.asl
@@ -0,0 +1,26 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 secunet Security Networks AG
+ * Copyright (C) 2017 Tobias Diedrich <ranma+coreboot@tdiedrich.de>
+ * Copyright (C) 2018 Iru Cai <mytbk920423@gmail.com>
+ *
+ * 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.
+ */
+
+#undef SUPERIO_DEV
+#undef SUPERIO_PNP_BASE
+#define SUPERIO_DEV SIO0
+#define SUPERIO_PNP_BASE 0x2e
+
+#define NCT6776_SHOW_SP1 1
+#define NCT6776_SHOW_KBC 1
+
+#include "superio/nuvoton/nct6776/acpi/superio.asl"