ec/google/wilco: Add mailbox helper functions
commit5f6f1dab7d8d098b6b08406ad3a99b1c3ba4cd05
authorDuncan Laurie <dlaurie@google.com>
Mon, 15 Oct 2018 02:11:30 +0000 (15 02:11 +0000)
committerDuncan Laurie <dlaurie@chromium.org>
Wed, 31 Oct 2018 18:29:09 +0000 (31 18:29 +0000)
tree5ea22aef9f546dac1ce986561dec301ce8985d16
parent21dde8b25f610c02a8c71341a6579e9f850b690b
ec/google/wilco: Add mailbox helper functions

Add helper functions that make it more convenient to send and receive
the most common types of commands to the Wilco embedded controller.

Change-Id: I9cee1a3b2f9d507f6ecdfae9f4a34ba59056cb91
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/29114
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/ec/google/wilco/ec.h