diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-08-07 15:29:06 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-11 01:36:10 +0000 |
commit | bdc1f4c1dc9e736280014ac5b7433c627ccc91fa (patch) | |
tree | 68bb52fc352d46c5c7d4ed8987eb88bba832dc44 | |
parent | 9968fb396639e7412cdb20aae4db2c31c4439490 (diff) | |
download | chrome-ec-bdc1f4c1dc9e736280014ac5b7433c627ccc91fa.tar.gz |
cr50: control adding USB specific code using proper config
CONFIG_USB is a better indicator that USB related code needs to be
included.
BRANCH=none
BUG=none
TEST=none - this patch helped compartmentnalize the code when
debugging bringup on a new platform.
Change-Id: I12ef77325591853d73e2e09f7c491954e272bde9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/291854
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r-- | board/cr50/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c index f64a75b374..c6970c29c0 100644 --- a/board/cr50/board.c +++ b/board/cr50/board.c @@ -80,7 +80,7 @@ static void board_init(void) } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); -#if !defined(CHIP_VARIANT_CR50_A1) +#if defined(CONFIG_USB) const void * const usb_strings[] = { [USB_STR_DESC] = usb_string_desc, [USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."), |