diff options
author | martin yan <martin.yan@microchip.corp-partner.google.com> | 2022-01-14 11:04:50 -0500 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-24 20:12:52 +0000 |
commit | 294e26a203fb74d2a3a3218279b6e18ca22780be (patch) | |
tree | 62ee3de9a81598a226bb76409e309f8c7c1142c7 /zephyr/Kconfig.header | |
parent | 96525123ba63b081f0855197961f8029539b937b (diff) | |
download | chrome-ec-294e26a203fb74d2a3a3218279b6e18ca22780be.tar.gz |
zephyr: mchp: Add cros_flash driver
Add cros_flash driver and related configs
BUG=none
BRANCH=main
TEST=zmake testall
Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com>
Change-Id: I4b8aadf5820871e0abcff0306eefae634a4ee8df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3388451
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.header')
-rw-r--r-- | zephyr/Kconfig.header | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/Kconfig.header b/zephyr/Kconfig.header index 43e66ec3e4..e5c137b99e 100644 --- a/zephyr/Kconfig.header +++ b/zephyr/Kconfig.header @@ -6,7 +6,7 @@ config PLATFORM_EC_RO_HEADER bool "RO section includes a header" default y depends on CROS_EC_RO - depends on SOC_FAMILY_NPCX + depends on SOC_FAMILY_NPCX || SOC_FAMILY_MEC help The RO image residing on flash memory has a header section. The header is used on some chips (such as the npcx) to load the image correctly @@ -24,6 +24,7 @@ config PLATFORM_EC_RO_HEADER_OFFSET config PLATFORM_EC_RO_HEADER_SIZE hex "Size of the RO header" default 0x40 if SOC_FAMILY_NPCX + default 0x140 if SOC_SERIES_MEC172X default 0x0 help The size of the RO header in bytes. This values should come from the |