mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
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:
committed by
chrome-bot
parent
ce52342554
commit
c1117fb707
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user