diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-09 21:07:43 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-19 03:49:48 +0200 |
commit | fa840676f5f3bd92b63c352f0c8bf6f14bc2c314 (patch) | |
tree | ba323c7f7691cf5cab2df5b1110711e46ceba652 /src/ec/compal/ene932/documentation.txt | |
parent | 91b6d3a6b9430c94989d37982a56ead948419e78 (diff) | |
download | coreboot-fa840676f5f3bd92b63c352f0c8bf6f14bc2c314.tar.xz |
ec/compal/ene932: Update to use coreboot EC-mainboard API
This patch implements a simple interface between the EC and mainboard
ASL code. This interface does not rely on the preprocessor, and
prevents name conflicts by scoping the interface methods. As this
interface is documented on the coreboot wiki, an in-tree documentation
is not provided.
Change-Id: If0b09be4f5e17cc444539a30f0186590fa0b72b5
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/5515
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
Diffstat (limited to 'src/ec/compal/ene932/documentation.txt')
-rw-r--r-- | src/ec/compal/ene932/documentation.txt | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/ec/compal/ene932/documentation.txt b/src/ec/compal/ene932/documentation.txt index eeb801a73f..a597e4eb7a 100644 --- a/src/ec/compal/ene932/documentation.txt +++ b/src/ec/compal/ene932/documentation.txt @@ -1,23 +1,14 @@ -Accessing the EC space -====================== +ASL interface +============= -The ACPI implementation uses the standard I/O ports 0x62 and 0x66 to access the -EC functionality. Accesses to these ports must be directed to the LPC bus to -which the EC is connected. +This EC implements the standard mainboard-EC coreboot interface. +Deviations from standard interface +================================== -Interfacing with the ASL files -============================== +The following method must be defined in the global namespace: -The mainboard code must define several variables for the ASL files. - -* EC_SCI - Defines the General Purpose Event (GPE) corresponding to the EC's SCI line. -* EC_ACPI_LID_SWITCH_OBJECT - Defines the APCI object which reads the state of the lid, with 0 = open, and - 1 = closed. This is usually the bit which reads the GPIO input corresponding - to the lid switch. * PNOT() The mainboard must define a PNOT method to handle power state notifications and Notify CPU device objects to re-evaluate their _PPC and _CST tables. |