diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-02-15 15:05:35 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-02-15 15:12:03 -0800 |
commit | 6101cebb6a7b0d0aadf3df98e98284b60946c419 (patch) | |
tree | 783e01e66a0f38875db5de873cd07aeba1953930 /util | |
parent | c160dae1d45ea1a02e17b5de75e75a396b160627 (diff) | |
download | chrome-ec-6101cebb6a7b0d0aadf3df98e98284b60946c419.tar.gz |
Reduce LPC command parameters to 128 bytes; add LPC memory-mapped space
This will allow more efficient access to EC-provided data (temperature,
fan, battery) by the main processor.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:7857
TEST='ectool hello' from link main processor should still work
Change-Id: I2dc683f3441b34de9fb4debf772e386b9fdcfa82
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ectool.c b/util/ectool.c index 3c377b4c18..49785ac1a1 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -42,10 +42,10 @@ const char help_str[] = " Set target fan RPM\n" "\n" "Not working for you? Make sure LPC I/O is configured:\n" - " pci_write32 0 0x1f 0 0x88 0x007c0801\n" - " pci_write32 0 0x1f 0 0x8c 0x007c0901\n" + " pci_write32 0 0x1f 0 0x88 0x00fc0801\n" + " pci_write32 0 0x1f 0 0x8c 0x00fc0901\n" " pci_write16 0 0x1f 0 0x80 0x0010\n" - " pci_write16 0 0x1f 0 0x82 0x3f02\n" + " pci_write16 0 0x1f 0 0x82 0x3d01\n" ""; |