coreboot-kgpe-d16/payloads/libpayload/include
Raul E Rangel c534a066d8 libpayload: Add UNKNOWN_SPEED to usb_speed enum
xhci_rh_port_speed return -1 if the port is disabled. The usb_speed enum
is unsigned so this results in a positive value which implies success.

Adding a -1 to the enum will make it signed so the >= 0 check will work
correctly.

BUG=b:76831439
TEST=verified on grunt that -1 is returned when port is disabled.

Change-Id: I98a373717d52dfb6ca4dcc53a00dc1b4c240a919
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/27476
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2018-07-17 15:23:36 +00:00
..
arm/arch
arm64/arch libpayload: Add raw_read_ functions 2018-05-01 23:34:03 +00:00
arpa
mips/arch
pci libpayload: Add pci_free_dev() and some boilerplate 2017-12-07 21:51:24 +00:00
storage
sys
udc
usb libpayload: Add UNKNOWN_SPEED to usb_speed enum 2018-07-17 15:23:36 +00:00
x86/arch
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Support FIT payloads 2018-06-15 09:13:24 +00:00
cbfs_ram.h
cbgfx.h
compiler.h
coreboot_tables.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
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 libpayload-x86: Export keyboard modifiers 2018-05-31 15:31:47 +00:00
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h libpayload/include/queue.h: Remove trailing whitespace 2018-04-27 09:11:16 +00:00
stdarg.h
stddef.h
stdint.h
stdio.h
stdlib.h libpayload: Move GDB functions to stdlib.h 2018-04-19 20:39:29 +00:00
string.h
strings.h
swab.h
sysinfo.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
term.h
time.h
unistd.h
video_console.h