diff options
author | Philip Chen <philipchen@google.com> | 2021-06-16 16:38:44 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 01:40:44 +0000 |
commit | 6d163016d305d63a72ca3884cc9da9b618f6609d (patch) | |
tree | c601e7e0c2a7eb3ea5f1dedf44ffc155053ff1cd /zephyr/CMakeLists.txt | |
parent | 8442045be1484112995eccee740bcff350e7f9a8 (diff) | |
download | chrome-ec-6d163016d305d63a72ca3884cc9da9b618f6609d.tar.gz |
cbi: Separate CBI EEPROM driver from CBI protocol
Factor out the physical storage driver (cbi_eeprom.c) from the CBI
data/protocol layer (cbi.c), setting up the groundwork to support more
options of CBI sources.
BRANCH=None
BUG=b:186264627
TEST=make buildall -j
Change-Id: Ic30a6f789970dd6723cf70d4e852ddb7161f796f
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2965848
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'zephyr/CMakeLists.txt')
-rw-r--r-- | zephyr/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 1357279a80..4dc19b6129 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -189,7 +189,8 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_CHARGE_RAMP_SW "${PLATFORM_EC}/common/charge_ramp_sw.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_CBI_EEPROM - "${PLATFORM_EC}/common/cbi.c") + "${PLATFORM_EC}/common/cbi.c" + "${PLATFORM_EC}/common/cbi_eeprom.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_CONSOLE_CMD_MEM "${PLATFORM_EC}/common/memory_commands.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_DPTF |