summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/lenovo/g505s/acpi/superio.asl10
-rw-r--r--src/mainboard/lenovo/g505s/mainboard.h3
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/g505s/acpi/superio.asl b/src/mainboard/lenovo/g505s/acpi/superio.asl
index e69de29bb2..e3bb6fbc6b 100644
--- a/src/mainboard/lenovo/g505s/acpi/superio.asl
+++ b/src/mainboard/lenovo/g505s/acpi/superio.asl
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
+
+/* Defines EC bits specific to the mainboard, needed by EC ASL */
+#include "mainboard.h"
+
+/* ACPI code for EC SuperIO functions */
+#include <ec/compal/ene932/acpi/superio.asl>
diff --git a/src/mainboard/lenovo/g505s/mainboard.h b/src/mainboard/lenovo/g505s/mainboard.h
index 6131df2378..49aaedd2c8 100644
--- a/src/mainboard/lenovo/g505s/mainboard.h
+++ b/src/mainboard/lenovo/g505s/mainboard.h
@@ -22,4 +22,7 @@
#define PME_GPE 0x0b
#define PCIE_GPE 0x18
+/* Enable PS/2 Keyboard and Mouse */
+#define SIO_EC_ENABLE_PS2K
+
#endif /* _MAINBOARD_LENOVO_G505S_MAINBOARD_H */