diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-12-05 22:46:02 +1100 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-12-06 07:39:58 +0100 |
commit | a23036c8d8649e237932e04e853d118628d57747 (patch) | |
tree | 1c6b393eacce14fb8bb7bba6ebb9bcf45587e27b /src | |
parent | 05a1dc3c447781b551065e36442851dbcc018be7 (diff) | |
download | coreboot-a23036c8d8649e237932e04e853d118628d57747.tar.xz |
mainboard/lenovo/g505s: Build in EC ASL support for KBD/AUX ports
Rather than have Linux report:
i8042: PNP: No PS/2 controller found. Probing directly.
and go off probing PNP config space, build in EC ASL for the
PS/2 keyboard and mouse.
The ASL explicitly passes these resources to the Linux to avoid
said probe.
ASL Details:
PS/2 keyboard (PNP0303 at 0x60,0x64 irq 1 )
PS/2 mouse (PNP0F13 at 0x60,0x64 irq 12)
Change-Id: I0697fab65915907fbe2b3551182b3a1b0d665ddb
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7651
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/lenovo/g505s/acpi/superio.asl | 10 | ||||
-rw-r--r-- | src/mainboard/lenovo/g505s/mainboard.h | 3 |
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 */ |