diff options
author | Denis Brockus <dbrockus@google.com> | 2021-06-28 15:27:44 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 00:03:20 +0000 |
commit | 50381856edfddb0358c22fac3ae7dc1eecd3efac (patch) | |
tree | b3aebc4e5c85d2d012628906ea4b089ded646a48 /zephyr/projects/asurada | |
parent | 1d235e9f8e6dbc5588a32f2b0f563f11a74bfe04 (diff) | |
download | chrome-ec-50381856edfddb0358c22fac3ae7dc1eecd3efac.tar.gz |
zephyr: asurada: Enable using ppc_is_vbus_present
Zephyr does not blindly define BOARD_HAYATO so
make sure and add it to the CMakeLists.txt so the
correct path will be taken when deciding if
ppc_is_vbus_preset should be used instead of the ADC.
BUG=b:189855648
BRANCH=none
TEST=zmake configure -b $PROJ_HAYATO
TEST=USB-C should see VBus
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I640b2d6c2c6fa13d1f5c2b54579cc44e0ccb962b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993558
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/asurada')
-rw-r--r-- | zephyr/projects/asurada/hayato/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/asurada/hayato/CMakeLists.txt b/zephyr/projects/asurada/hayato/CMakeLists.txt index cd0512d5bf..f1d0f33f8c 100644 --- a/zephyr/projects/asurada/hayato/CMakeLists.txt +++ b/zephyr/projects/asurada/hayato/CMakeLists.txt @@ -3,6 +3,7 @@ # found in the LICENSE file. cmake_minimum_required(VERSION 3.13.1) +add_compile_definitions(BOARD_HAYATO) set(BOARD_ROOT "${CMAKE_CURRENT_LIST_DIR}/..") |