summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/prj.conf
Commit message (Collapse)AuthorAgeFilesLines
* corsola: drop duplicated configEric Yilun Lin2022-06-081-1/+0
| | | | | | | | | | | | | | | | The config was defined twice. BUG=none TEST=zmake BRANCH=none Change-Id: I5947c8a59b103d18e3dc83f5bd327f6645120efb Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3686968 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* zephyr: shim: add single charge task supportFabio Baltieri2022-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add an option to run the charger code in a single task. This is enabled by default in Zephyr builds, but explicitly disabled for a couple of platforms that currently have task dependent board code. Should be enough to start testing the configuration, will work on handling the remaining boards (corsola and nissa) later. BRANCH=none BUG=b:226411332 TEST=make buildall TEST=zmake testall TEST=cq dry run TEST=run on Brya, connect/disconnect usb devices Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I75a63f7b0a9545e6c824114de7f81b71924e0789 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3663748 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Aaron Massey <aaronmassey@google.com>
* corsola: disable `flash` shell commandTing Shen2022-04-211-0/+3
| | | | | | | | | | | | | | | | Same as https://crrev.com/c/3499820, disable the unused command to save 4kB RAM. BUG=b:229343786 TEST=build, verify ram usage reduced BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: Id92b1e8dbf61bd9dc17f355e41a56847c184e8d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3595296 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
* zephyr: convert PLATFORM_EC_I2C to a helper symbolKeith Short2022-04-081-0/+3
| | | | | | | | | | | | | | Convert CONFIG_PLATFORM_EC_I2C to a helper symbol that is automatically enabled if the Zephyr CONFIG_I2C option is enabled. BUG=b:217926701 BRANCH=none TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I5aab26b0dea609a706b07ed752503f7432848136 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3575084 Reviewed-by: Aaron Massey <aaronmassey@google.com>
* corsola: enable host sleep failure detectionTing Shen2022-03-301-0/+4
| | | | | | | | | | | | | BUG=none TEST=zmake build {krabby,kingler} BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I5f209e0543c2f762cc98ff08ba20fc27456d9e03 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3559574 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
* zephyr: remove prompt for wakeup-mask KconfigsMichał Barnaś2022-03-291-2/+0
| | | | | | | | | | | | | | | | This commit removes the Kconfig prompt for event and host event wakeup masks and enables them automatically based on device-tree nodes. If nodes that specify the masks exist, then the Kconfig will be enabled. BRANCH=main BUG=b:222689734 TEST=zmake testall, grep for WAKEUP Kconfigs in .config Change-Id: I6d85d7118e74c668120129879c32ade93169e761 Signed-off-by: Michał Barnaś <mb@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3525177 Reviewed-by: Al Semjonovs <asemjonovs@google.com>
* corsola: disable USB4,TBT modeEric Yilun Lin2022-03-251-0/+4
| | | | | | | | | | | | | | | They are not supported on corsola. BUG=none TEST=kingler boots BRANCH=none Change-Id: Ibc08030ef422933e51cb773306d34bc2c4048f04 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3545782 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* corsola: enable EFS2Ting Shen2022-03-041-0/+3
| | | | | | | | | | | | | | BUG=b:214144013, b:222627685 TEST=1) zmake configure (krabby|kingler) 2) `apreset` works on krabby BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I4f37e19fa351e7e7267f13330ea256f19cb898a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3501777 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
* kingler: config wake eventsEric Yilun Lin2022-02-251-0/+13
| | | | | | | | | | | | | | | | | Configure common events, and moves common mkbp configs into corsola. BUG=b:220951682 TEST=powerd_dbus_suspend, and AP won't wake BRANCH=none Change-Id: I9ae794cab576e797218c9d09e28777085ee12df3 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3489121 Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* zephyr: corsola: assign USB PIDEric Yilun Lin2022-01-241-0/+4
| | | | | | | | | | | | | | | | Assign USB PID for corsola projects. BUG=b:214325274 TEST=zmake testall BRANCH=none Change-Id: I7ac9ed2829ac00e1db656331a063b5edf6d4b2a0 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3411678 Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
* it8xxx2: Move non-core config to per-project configAndrew McRae2021-12-071-4/+0
| | | | | | | | | | | | | | | | | | Move non-base configuration from default it8xxx2 configuration to project level configuration: - keyboard enabling - keyboard scanning - wake mask - cros kb shim BUG=b:209324248 TEST=zmake configure -b {krabby,kinger} BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I9db3aab59f68602afdf5274a7eb4c9a77e778bf0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3316164 Reviewed-by: Sam Hurst <shurst@google.com>
* it8xxx2: Move the AP SoC configuration to the project configuration.Andrew McRae2021-12-031-0/+4
| | | | | | | | | | | | | | Move the AP SoC default configuration out of the base Zephyr it8xxx2 board to the project configuration. BUG=b:208739197 TEST=zmake configure -b krabby; zmake configure -b kingler BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: Ia111f6ab592d0782902f91cd70ebfc7693c4a398 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3312511 Reviewed-by: Yuval Peress <peress@google.com>
* zephyr: krabby: restructure folder layoutEric Yilun Lin2021-11-191-0/+3
To follow the guidelines in go/zephyr-variant. next steps: - restructure kingler layout - move common configs into prj.conf - move source files from cros-ec/krabby to zephyr BUG=b:206553789 TEST=zmake -b krabby; zmake -b kingler BRANCH=main Change-Id: I145fcb90cca360f733ecad41d0fcc82283563634 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3289581 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org>