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
..
2015-12-16 19:00:53 +01:00
2017-05-25 18:23:56 +02:00
2017-08-08 18:18:03 +00:00
2011-07-16 11:09:28 +02:00
2011-07-07 22:29:53 +02:00
2015-10-20 16:50:25 +02:00
2015-09-10 20:11:33 +00:00
2017-08-21 16:53:20 +00:00