summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-02-05 14:03:06 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-08 12:09:05 -0800
commitc1117fb707562886511d5ddd95fc0b1616eb3af8 (patch)
tree2fd64061f14be1b6ae235787fa08d612acfd508d
parentce52342554cec1ef74c713c0ce1f859eddd4d460 (diff)
downloadchrome-ec-c1117fb707562886511d5ddd95fc0b1616eb3af8.tar.gz
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>
-rw-r--r--chip/g/usb.c7
1 files changed, 0 insertions, 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