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 Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
arm64/arch libpayload: Add raw_read_ functions 2018-05-01 23:34:03 +00:00
arpa
mips/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
pci libpayload: Add pci_free_dev() and some boilerplate 2017-12-07 21:51:24 +00:00
storage libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
sys
udc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb libpayload: Add UNKNOWN_SPEED to usb_speed enum 2018-07-17 15:23:36 +00:00
x86/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
archive.h libpayload: add archive.h 2015-12-16 19:00:53 +01:00
assert.h
cbfs.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_core.h util/cbfstool: Support FIT payloads 2018-06-15 09:13:24 +00:00
cbfs_ram.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbgfx.h detachables: Add invert parameter 2017-05-25 18:23:56 +02:00
compiler.h add __must_check to */compiler.h 2017-08-08 18:18:03 +00:00
coreboot_tables.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
ctype.h
die.h libpayload: Add a new "die" function to fatally signal programming errors. 2014-09-15 17:37:13 +02:00
endian.h endian: Fix bebitenc() to actually encode big-endian 2017-11-06 20:46:37 +00:00
errno.h
exception.h libpayload: Rework exception hook interface 2015-01-09 07:05:15 +01:00
fmap_serialized.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gdb.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
getopt.h
inttypes.h
ipchksum.h libpayload: Add a new "die" function to fatally signal programming errors. 2014-09-15 17:37:13 +02:00
kconfig.h
keycodes.h
libpayload.h libpayload-x86: Export keyboard modifiers 2018-05-31 15:31:47 +00:00
limits.h
lz4.h cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lzma.h LZMA: Add a version of ulzma which takes the input and output buffer sizes. 2014-08-10 22:29:51 +02:00
malloc.h
multiboot_tables.h libpayload: multiboot - support meminfo flag 2017-02-17 18:20:38 +01:00
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 libpayload: add *SECS_PER_SEC macros to stddef.h 2017-08-14 18:06:33 +00:00
stdint.h libpayload: Add ptrdiff_t typedef 2015-10-20 16:50:25 +02:00
stdio.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
stdlib.h libpayload: Move GDB functions to stdlib.h 2018-04-19 20:39:29 +00:00
string.h libpayload: UTF-16LE to ASCII conversion 2015-03-20 09:59:48 +01:00
strings.h libpayload: Revive ffs() 2015-09-10 20:11:33 +00:00
swab.h libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
sysinfo.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
term.h
time.h libpayload: add time() 2017-08-21 16:53:20 +00:00
unistd.h
video_console.h