coreboot-kgpe-d16/payloads
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
..
bayou payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
coreinfo util/cbfstool: Support FIT payloads 2018-06-15 09:13:24 +00:00
external payloads/seabios: Update stable from 1.11.1 to 1.11.2 2018-07-06 01:20:48 +00:00
libpayload libpayload: Add UNKNOWN_SPEED to usb_speed enum 2018-07-17 15:23:36 +00:00
nvramcui payloads/nvramcui/payload.sh: Fix shellcheck warnings 2018-01-24 23:01:35 +00:00
Kconfig payloads/Kconfig: Put option *None* at the top 2018-07-10 09:53:12 +00:00
Makefile.inc payloads: Add LinuxBoot payload in u-root mode 2018-06-19 18:37:37 +00:00