summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-06-12 10:50:41 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 21:45:11 +0200
commite221aad27fb860f31be089180d920df9d2243ae2 (patch)
tree09844ef16338d4d8f785022f35c2f89a320b0dff /src/ec/google/chromeec/acpi
parenta86c33a31a6c3faa91df12ee3e592a98f5702bc6 (diff)
downloadcoreboot-e221aad27fb860f31be089180d920df9d2243ae2.tar.xz
ec: Reserve correct ioport regions for Chrome OS EC to use
The LPC-based ChromeOS EC uses several ioport regions to communicate with the AP. In order for the new unified userspace access method to work, we need them to be reserved by the BIOS. Before /proc/ioports shows: 0800-0803 0804-08ff We'd like just a single 256-byte region at 0x800, but ASL can't handle that. So this will work: 0800-087f 0880-08ff Change-Id: I3f8060bff32d3a49f1488b26830ae26b83dab79d Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: http://review.coreboot.org/3746 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/google/chromeec/acpi')
-rw-r--r--src/ec/google/chromeec/acpi/superio.asl17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/ec/google/chromeec/acpi/superio.asl b/src/ec/google/chromeec/acpi/superio.asl
index 4f7133288a..39ddd29bdd 100644
--- a/src/ec/google/chromeec/acpi/superio.asl
+++ b/src/ec/google/chromeec/acpi/superio.asl
@@ -29,8 +29,9 @@
* SIO_EC_HOST_ENABLE : Enable EC host command interface resources
* EC_LPC_ADDR_HOST_DATA : EC host command interface data port
* EC_LPC_ADDR_HOST_CMD : EC host command interface command port
- * EC_LPC_ADDR_HOST_ARGS : EC host command arguments
- * EC_LPC_ADDR_HOST_PARAM : EC host command parameter buffer
+ * EC_HOST_CMD_REGION0 : EC host command buffer
+ * EC_HOST_CMD_REGION1 : EC host command buffer
+ * EC_HOST_CMD_REGION_SIZE : EC host command buffer size
*/
// Scope is \_SB.PCI0.LPCB
@@ -75,9 +76,8 @@ Device (SIO) {
{
FixedIO (EC_LPC_ADDR_HOST_DATA, 1)
FixedIO (EC_LPC_ADDR_HOST_CMD, 1)
- FixedIO (EC_LPC_ADDR_HOST_ARGS, 4)
- FixedIO (EC_LPC_ADDR_HOST_PARAM,
- EC_HOST_PARAM_SIZE)
+ FixedIO (EC_HOST_CMD_REGION0, EC_HOST_CMD_REGION_SIZE)
+ FixedIO (EC_HOST_CMD_REGION1, EC_HOST_CMD_REGION_SIZE)
})
Name (_PRS, ResourceTemplate ()
@@ -85,9 +85,10 @@ Device (SIO) {
StartDependentFn (0, 0) {
FixedIO (EC_LPC_ADDR_HOST_DATA, 1)
FixedIO (EC_LPC_ADDR_HOST_CMD, 1)
- FixedIO (EC_LPC_ADDR_HOST_ARGS, 4)
- FixedIO (EC_LPC_ADDR_HOST_PARAM,
- EC_HOST_PARAM_SIZE)
+ FixedIO (EC_HOST_CMD_REGION0,
+ EC_HOST_CMD_REGION_SIZE)
+ FixedIO (EC_HOST_CMD_REGION1,
+ EC_HOST_CMD_REGION_SIZE)
}
EndDependentFn ()
})