summaryrefslogtreecommitdiff
path: root/board/chell/board.c
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2017-07-31 11:01:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-31 17:08:28 -0700
commit553d00bdb4e55fdfc5cc75772f686e20cd764c3e (patch)
treead01a5002e717fa05081c238274797ccf52581ce /board/chell/board.c
parente67ca7945678399dffa19beb4bd54f7b935e4a7d (diff)
downloadchrome-ec-553d00bdb4e55fdfc5cc75772f686e20cd764c3e.tar.gz
driver: Move PI3USB9281 to bc12 directory.
The primary purpose of the Pericom PI3USB9281 is for BC1.2 detection. Therefore, move the driver to the bc12/ directory. Additonally, rename the config option to match. CONFIG_USB_SWITCH_PI3USB9281 => CONFIG_BC12_DETECT_PI3USB9281 BUG=None BRANCH=None TEST=`make -j buildall` Change-Id: I02f17064c0625e62d6779f895e69899c24898f74 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/594710 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/chell/board.c')
-rw-r--r--board/chell/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/chell/board.c b/board/chell/board.c
index 76edc55a69..e8c013353c 100644
--- a/board/chell/board.c
+++ b/board/chell/board.c
@@ -167,7 +167,7 @@ struct pi3usb9281_config pi3usb9281_chips[] = {
},
};
BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) ==
- CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT);
+ CONFIG_BC12_DETECT_PI3USB9281_CHIP_COUNT);
static int ps8740_tune_mux(const struct usb_mux *mux)
{