coreboot/src/ec
Julius Werner 8b71767cac google/chromeec: Add command to control USB PD role
Normally firmware should have no business messing with the USB PD role
(source/sink/whatever) in the EC. But, as so often happens, ugly issues
crop up that require weird work-arounds, and before you know it you need
to do this for some reason that only makes sense in context. I do now,
so add this function to send the necessary host command in the simplest
possible fashion.

BRANCH=gru
BUG=chrome-os-partner:59346
TEST=Used it in a follow-up patch.

Change-Id: Ie8d0be98f6b703f4db062fe2f728cd2588347202
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/413030
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2016-11-22 18:36:43 -08:00
..
acpi UPSTREAM: ec/acpi: Include ec.c unconditionally in romstage 2016-11-10 18:31:06 -08:00
compal/ene932 UPSTREAM: src/ec: Improve code formatting 2016-09-07 21:31:50 -07:00
google/chromeec google/chromeec: Add command to control USB PD role 2016-11-22 18:36:43 -08:00
kontron/it8516e tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lenovo UPSTREAM: ec/lenovo/h8: Add USB Always On 2016-11-21 11:53:10 -08:00
purism/librem ec: Add support for EC used on Purism Librem laptops 2016-01-21 02:31:34 +01:00
quanta UPSTREAM: src/ec: Improve code formatting 2016-09-07 21:31:50 -07:00
roda/it8518 UPSTREAM: ec/roda/it8518: Add another embedded controller 2016-11-21 11:54:13 -08:00
smsc/mec1308 Workaround for unused variable warning. 2016-02-09 19:58:14 +01:00
ec.h UPSTREAM: mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-28 05:49:31 -07:00