cr50: no need to check for USB inclusion

With transitioning to silicon there is no need to check if the
hardware includes USB subsystem or not.

BRANCH=none
BUG=chrome-os-partner:50141
TEST=the cr50 image successfully boots to the ec prompt

Change-Id: I593205cf307e0fce5e74ea695ed1cf5bfea8fde4
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/326482
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
Vadim Bendebury
2016-02-05 14:03:06 -08:00
committed by chrome-bot
parent ce52342554
commit c1117fb707

View File

@@ -1152,13 +1152,6 @@ void usb_init(void)
{
int i;
/* TODO: Take this out if USB is known to always be present */
if (!(GREG32(SWDP, FPGA_CONFIG) &
GC_CONST_SWDP_FPGA_CONFIG_USB_8X8CRYPTO)) {
CPRINTF("This FPGA image has no USB support\n");
return;
}
print_later("usb_init()", 0, 0, 0, 0, 0);
/* TODO(crosbug.com/p/46813): Clean this up. Do only what's needed, and