Skip to content

Commit

Permalink
ec/chromeec: implement EC software sync
Browse files Browse the repository at this point in the history
If an updated EC firmware image is present in CBFS,
compare to existing and update if needed.
Switch to EC-RW firmware unless software sync fails.

Change-Id: I08ab4255e6515a69a5bc7929765c062a9bbea404
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
  • Loading branch information
MrChromebox committed Sep 30, 2023
1 parent 97953b9 commit 9f780d3
Show file tree
Hide file tree
Showing 5 changed files with 515 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/ec/google/chromeec/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif

bootblock-y += ec.c
bootblock-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
ramstage-y += ec.c crosec_proto.c vstore.c usbc_mux.c
ramstage-y += ec.c crosec_proto.c vstore.c usbc_mux.c utility.c
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_SPI) += ec_spi.c
Expand Down

0 comments on commit 9f780d3

Please sign in to comment.