| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the interest of making long-term branch maintenance incur as little
technical debt on us as possible, we should not maintain any files on
the branch we are not actually using.
This has the added effect of making it extremely clear when merging CLs
from the main branch when changes have the possibility to affect us.
The follow-on CL adds a convenience script to actually pull updates from
the main branch and generate a CL for the update.
BUG=b:204206272
BRANCH=ish
TEST=make BOARD=arcada_ish && make BOARD=drallion_ish
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename CONFIG_PLATFORM_EC_VBOOT to CONFIG_PLATFORM_EC_VBOOT_EFS2,
since this is what is actually toggled by the config.
EFS2 is only a small component of verified boot, and we have many
boards which don't actually use it (e.g., trogdor family) for verified
boot, making the existing name very confusing.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I68ea5815b4a001c680fc78196bb7a02815799b52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088164
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor system_get_board_version() a bit so that we can remove
CONFIG_BOARD_VERSION_CUSTOM and CONFIG_BOARD_VERSION from config.h.
BRANCH=None
BUG=b:186264627
TEST=make buildall -j
TEST=zmake testall
Cq-Depend: chromium:3015243
Change-Id: Id5ab809493c297b7d330ea13dcd6934ec00042a6
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3004112
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable flash driver and access by console commands.
BUG=b:187192628
BRANCH=none
TEST=console cmd:
"flashread 0 0x100"
"flashwrite 0x80000 0x100"
"flasherase 0x80000 0x1000"
Cq-Depend: chromium:2981388
Cq-Depend: chromium:2991399
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I226925f8bd1ae672bf0a97e61d9210ebefe67bc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2952803
Tested-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable config for keyboard scan function, and we use default keyboard
scan timing config on board hayato.
BUG=b:187192587
BRANCH=none
TEST=on hayato, console cmd "ksstate" then press key:
[115.097839 KB state: -- -- -- 02 -- -- 02 -- -- -- -- -- --]
[116.462371 KB state: -- -- -- -- -- -- 02 -- -- -- -- -- --]
[116.499633 KB state: -- -- -- -- -- -- -- -- -- -- -- -- --]
Change-Id: Ie717d7333c2ff3f4279ec7c2f8c01fcb306fc5ad
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2883376
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the I2C driver and connect with I2C peripheral to
test writing and reading data.
BUG=b:185202623
BRANCH=none
TEST=shell:
"i2c scan I2C_0(I2C_1, I2C_2, I2C_4)"
"i2c write_byte I2C_0 0x52(slv) 0x10 0x20"
"i2c read_byte I2C_0 0x52(slv) 0x10"
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: I112aa379ba6162d774e6cd861fb6f579bb859823
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2878764
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enable ADC and test on it8xxx2_evb
BUG=b:185202623
BRANCH=none
TEST=shell: adc
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: I426dd6aebbe69ba86b2e7c57fb8e9216a76246f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2874325
Tested-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the power button module and interrupt.
BUG=b:185202623
BRANCH=none
TEST=trigger GPIO_POWER_BUTTON_L, see UART print
[12.660000 power button pressed]
[12.969000 power button released]
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: I538acf6ead3eb06abdf84ed14a52c81412a342e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2850301
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the lid switch GPIO and module.
BUG=b:185202623
BRANCH=none
TEST=trigger GPIO_LID_OPEN, observe UART prints
[21.986000 event set 0x0000000000000001]
[22.374000 lid open]
[22.378000 event set 0x0000000000000002]
[23.265000 lid close]
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: Ib7121240309a02de9ee7c342ff7c6005d5fa522b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2850300
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable host command support.
Replaced the board of hayato's EC with it81202_evb and the
host command can be received and responded.
BUG=b:185202623
BRANCH=none
TEST=console command: hcdebug every
hcdebug command is present.
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: I4b38d7f1a329e804a81f3bc1b803a2ea75aff3db
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2850299
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4ac1d81e1430dbfbfba1376a23ab19dfa845d7ef.
The config name collides with the same config name in zephyr.
Also, renames zephyr Kconfig CONFIG_PLATFORM_EC_FLASH to
CONFIG_PLATFORM_EC_FLASH_CROS as the corresponding change at Kconfig
side.
BUG=chromium:1202406,b:180980668
TEST=make -j16 runhosttests buildall && zmake testall && \
/mnt/host/source/src/platform/ec/zephyr/firmware_builder.py --metrics \
/tmp/tmplt8ty8ci test ; echo $?
BRANCH=none
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I5b5e58b30d936b5232e049827f458d9a2ed06340
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2855320
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
Initial bringup for it8xxx2_evb. The function includes
UART console and basic commands.
BUG=b:185202623
BRANCH=none
TEST=EC boots on it8xxx2_evb.
Console commands test: version
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: I96839f96b8128460a123fe0344b4ae077b6e8761
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752568
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|