diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-01-14 17:26:20 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-27 19:57:58 +0000 |
commit | b47a463be3ca2592540478d2f748e011b67d750a (patch) | |
tree | d3e4acc4aab3d7bd74bed7011339e08855055f44 /zephyr/Kconfig | |
parent | 765382ad5e537d3b276f626fd2c6d3bc33c9d1ea (diff) | |
download | chrome-ec-b47a463be3ca2592540478d2f748e011b67d750a.tar.gz |
zephyr: add an option for enabling bringup and plumb to zmake flag
Add a Kconfig option for enabling the CONFIG_BRINGUP platform/ec
option: CONFIG_PLATFORM_EC_BRINGUP, and make a command line flag in
"zmake configure" for toggling this on: --bringup.
BUG=none
BRANCH=none
TEST=zmake configure -B ~/volteer-build -b --bringup zephyr/projects/volteer
flash on volteer
observe bringup functions (siglog, power on delay, etc)
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ib915abba7c5777aa1d9391b55b1f912e53a5fdf5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2631353
Commit-Queue: Yuval Peress <peress@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 02570e3c2f..9a318358a0 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -91,6 +91,22 @@ config PLATFORM_EC_BOARD_RESET_AFTER_POWER_ON the EC starts up, performs some amount of processing and then gets a reset that it is not expecting. +config PLATFORM_EC_BRINGUP + bool "Enable early bringup debugging features" + help + Enable the CONFIG_BRINGUP platform/ec configuration option, + turning on a variety of miscellaneous early bringup + debugging features. + + These features include: + - The device will not power on when the EC starts. The + power button will need to be pressed, or the "powerbtn" + command issued. + - Enable power signal logging, showing relative timestamps + for each power signal change. + - And more! You can search the codebase for CONFIG_BRINGUP + to see all of the features this flag will toggle. + config PLATFORM_EC_CBI bool "CBI EEPROM support" depends on PLATFORM_EC_I2C |