diff options
author | Aseda Aboagye <aaboagye@google.com> | 2017-07-31 11:01:00 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-07-31 17:08:28 -0700 |
commit | 553d00bdb4e55fdfc5cc75772f686e20cd764c3e (patch) | |
tree | ad01a5002e717fa05081c238274797ccf52581ce /board/strago | |
parent | e67ca7945678399dffa19beb4bd54f7b935e4a7d (diff) | |
download | chrome-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/strago')
-rw-r--r-- | board/strago/board.c | 2 | ||||
-rw-r--r-- | board/strago/board.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/strago/board.c b/board/strago/board.c index 7f45ba6661..b2559b47ff 100644 --- a/board/strago/board.c +++ b/board/strago/board.c @@ -130,7 +130,7 @@ struct pi3usb9281_config pi3usb9281_chips[] = { }, }; BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) == - CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT); + CONFIG_BC12_DETECT_PI3USB9281_CHIP_COUNT); struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = { { diff --git a/board/strago/board.h b/board/strago/board.h index 24a736e585..23100c9a25 100644 --- a/board/strago/board.h +++ b/board/strago/board.h @@ -44,8 +44,8 @@ #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_PD_VBUS_DETECT_GPIO -#define CONFIG_USB_SWITCH_PI3USB9281 -#define CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT 1 +#define CONFIG_BC12_DETECT_PI3USB9281 +#define CONFIG_BC12_DETECT_PI3USB9281_CHIP_COUNT 1 #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_SS_MUX_DFP_ONLY #define CONFIG_USBC_VCONN |