diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-03-23 14:30:03 +0800 |
---|---|---|
committer | Vadim Bendebury <vbendeb@chromium.org> | 2012-03-23 02:07:18 -0700 |
commit | 595815653db3746807473bd2ded9d0dc9851bad8 (patch) | |
tree | e3b09e5a70109169ddfccbf69ebc0d7a8cbb6366 | |
parent | e62e316ecf34b17a65e7781335ed206d0ffbb679 (diff) | |
download | vboot-595815653db3746807473bd2ded9d0dc9851bad8.tar.gz |
Modify crossystem to recognize Panther Point GPIO controllerfactory-1987.B
There is a filter in crossystem which makes sure that it accepts GPIO
information only from a subset of GPIO controllers. Panther Point
needs to be included in the list.
BUG=chrome-os-partner:8615
TEST=manual
. run the new crossystem on a Link
. modify write protect and and recovery (as it comes from servo-2)
pins' status
. observe the appropriate crossystem values change
Change-Id: I3ac269a9ea520f2c44ee090fe71ec8ad808692ba
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/18939
Reviewed-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index 6ef9063e..2d4a79bb 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -561,7 +561,8 @@ static int ReadGpio(int signal_type) { if (!ReadFileString(controller_name, sizeof(controller_name), name)) return -1; if ((0 != strcmp(controller_name, "NM10")) && - (0 != strcmp(controller_name, "CougarPoint"))) + (0 != strcmp(controller_name, "CougarPoint")) && + (0 != strcmp(controller_name, "PantherPoint"))) return -1; /* Modify GPIO number by driver's offset */ |