From c1117fb707562886511d5ddd95fc0b1616eb3af8 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Fri, 5 Feb 2016 14:03:06 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/326482 Reviewed-by: Bill Richardson --- chip/g/usb.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/chip/g/usb.c b/chip/g/usb.c index a23c299990..e21a9b43ca 100644 --- a/chip/g/usb.c +++ b/chip/g/usb.c @@ -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