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>
This commit is contained in:
Edward O'Callaghan 2014-12-05 22:46:02 +11:00
parent 05a1dc3c44
commit a23036c8d8
2 changed files with 13 additions and 0 deletions

View File

@ -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>

View File

@ -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 */