ec/google/wilco/acpi: Fix issues and clean up
commit4c14ca836fb50d7cccee6b1cb85faa3046b03934
authorDuncan Laurie <dlaurie@google.com>
Wed, 21 Nov 2018 01:27:47 +0000 (20 17:27 -0800)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 4 Dec 2018 10:20:44 +0000 (4 10:20 +0000)
tree4faf1fd348984880237bd6ad402eac76ccc42192
parente68042f0210738c6c8c15fc2b330801db14d7f22
ec/google/wilco/acpi: Fix issues and clean up

- Disable debug output from read/write methods by default
- Use argument to _REG to disable SCI when EC is unregistered
- Change read/write macros to sync level 2 so they can be called
when a mutex is already held
- Define some missing events

Change-Id: Ic65ebbb6a6151444c47b4aeff7429e186856c49a
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/29760
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/ec/google/wilco/acpi/ec.asl
src/ec/google/wilco/acpi/ec_ram.asl