diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-02-05 14:03:06 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-02-08 12:09:05 -0800 |
commit | c1117fb707562886511d5ddd95fc0b1616eb3af8 (patch) | |
tree | 2fd64061f14be1b6ae235787fa08d612acfd508d | |
parent | ce52342554cec1ef74c713c0ce1f859eddd4d460 (diff) | |
download | chrome-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.c | 7 |
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 |