coreboot-kgpe-d16/payloads/libpayload/include
Caveh Jalali eaa219b5bb libpayload: drivers/usb: add a USB pre-poll hook
This adds a hook so that a payload can optionally perform USB service
functions in conjunction with regular USB port status polling. In
particular, this allows depthcharge to control the state of an
external USB mux. Some SoCs like Tiger Lake have a USB mux for Type-C
ports that must be kept in sync with the state of the port as reported
by the TCPC. This can be achieved by hooking into the poll routine to
refresh the state of the USB mux.

BUG=b:149883933
TEST=booted into recovery from Type-C flash drive on volteer

Change-Id: Ic6c23756f64b891b3c5683cd650c605b8630b0fb
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42072
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-06-06 01:49:52 +00:00
..
arm/arch
arm64/arch
arpa
pci
storage
sys
udc
usb
x86/arch
archive.h
assert.h
cbfs.h
cbfs_core.h
cbfs_ram.h
cbgfx.h
compiler.h
coreboot_tables.h
ctype.h
die.h
endian.h
errno.h
exception.h
fmap_serialized.h
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h
stdarg.h
stddef.h
stdint.h
stdio.h
stdlib.h
string.h
strings.h
sysinfo.h
term.h
time.h
unistd.h
video_console.h