coreboot/src
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: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: riscv: map first 4GiB of physical address space 2016-11-21 11:54:06 -08:00
commonlib UPSTREAM: commonlib/include: remove NEED_VB20_INTERNALS 2016-11-21 11:53:31 -08:00
console UPSTREAM: Revert "[WIP] console/Kconfig: Calculate COM port base addresses only on x86" 2016-10-18 22:15:27 -07:00
cpu UPSTREAM: intel sandy/ivy: Increase XIP cache with USE_NATIVE_RAMINIT 2016-11-21 11:53:52 -08:00
device UPSTREAM: device/dram/ddr3: Fix calculation CRC16 of SPD 2016-11-21 11:54:09 -08:00
drivers UPSTREAM: drivers/usb: Add option for baudrate of FT232H UART 2016-11-21 11:54:11 -08:00
ec google/chromeec: Add command to control USB PD role 2016-11-22 18:36:43 -08:00
include UPSTREAM: device/dram/ddr3: Calculate CRC16 of SPD unique identifier 2016-11-21 11:53:55 -08:00
lib UPSTREAM: intel post-car: Increase stacktop alignment 2016-11-21 11:53:20 -08:00
mainboard UPSTREAM: mb/siemens/sitemp_g1p1/cmos.layout: Re-add cmos_defaults_loaded 2016-11-21 11:54:16 -08:00
northbridge UPSTREAM: intel sandy/ivy: Improve DIMM replacement detection 2016-11-21 11:54:04 -08:00
soc rockchip/rk3399: display: retry edp initialization if edp initial fail 2016-11-22 11:51:49 -08:00
southbridge UPSTREAM: sb/lynxpoint: use hda_verb.c from VARIANT_DIR if applicable 2016-11-21 11:53:17 -08:00
superio UPSTREAM: sio/it8772f: add GPIO blink definition needed by google/tricky 2016-11-21 11:53:15 -08:00
vboot UPSTREAM: commonlib/include: remove NEED_VB20_INTERNALS 2016-11-21 11:53:31 -08:00
vendorcode UPSTREAM: google/chromeec: Add common infrastructure for boot-mode switches 2016-11-19 03:18:03 -08:00
Kconfig UPSTREAM: ACPI S3: Remove HIGH_MEMORY_SAVE where possible 2016-11-10 18:31:17 -08:00