ectool: add query function to ectool
commit0edf419852501583985475ae7084e508dc66eb8f
authorAlexander Couzens <lynxis@fe80.eu>
Fri, 6 Feb 2015 21:27:33 +0000 (6 22:27 +0100)
committerPeter Stuge <peter@stuge.se>
Wed, 8 Apr 2015 06:41:59 +0000 (8 08:41 +0200)
tree8a8eae64beefa9ad9884c7fd6cabfee8e2f999ac
parent46ca3a55344b326553358b5119cb8a342a493ed4
ectool: add query function to ectool

`ectool -q` - Query the EC IRQ byte.
Should return 0x00 otherwise the IRQ handler is usally broken or disabled.

Tested-on: Lenovo X201t

Change-Id: I0b8c2dbcf38d2eab89d0fbea05795759c4517f6d
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/8382
Tested-by: build bot (Jenkins)
Reviewed-by: Nicolas Reinecke <nr@das-labor.org>
Reviewed-by: Peter Stuge <peter@stuge.se>
util/ectool/ec.c
util/ectool/ec.h
util/ectool/ectool.c