diff options
author | Keith Short <keithshort@chromium.org> | 2020-08-05 09:02:04 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-06 02:21:19 +0000 |
commit | ea334082eb7bcf690a54e2773ddaec2905075922 (patch) | |
tree | 1d98a6b42ddf3de32d027e3e0d6334b203af4740 /baseboard/kalista | |
parent | d94d4cc45e39297cd4e072a07c8fca714715fa18 (diff) | |
download | chrome-ec-ea334082eb7bcf690a54e2773ddaec2905075922.tar.gz |
kalista: Fix the EC storage sizes
The flash layout for kalista boards splits the flash area into 4
segments, used for RO, RW_A, and RW_B images. The
CONFIG_EC_PROTECTED_STORAGE_SIZE and CONFIG_EC_WRITABLE_STORAGE_SIZE
options need to be adjusted to match.
BUG=b:160330682
BRANCH=none
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ia087995840dd19250cdbd82de4456e90a9b28685
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2339837
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'baseboard/kalista')
-rw-r--r-- | baseboard/kalista/baseboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/kalista/baseboard.h b/baseboard/kalista/baseboard.h index b06ccfd657..ede6388b39 100644 --- a/baseboard/kalista/baseboard.h +++ b/baseboard/kalista/baseboard.h @@ -154,6 +154,11 @@ #define CONFIG_RW_B_SIGN_STORAGE_OFF (CONFIG_RW_B_STORAGE_OFF + \ CONFIG_RW_SIZE - CONFIG_RW_SIG_SIZE) +#undef CONFIG_EC_PROTECTED_STORAGE_SIZE +#define CONFIG_EC_PROTECTED_STORAGE_SIZE CONFIG_RO_SIZE +#undef CONFIG_EC_WRITABLE_STORAGE_SIZE +#define CONFIG_EC_WRITABLE_STORAGE_SIZE CONFIG_RW_SIZE + #define CONFIG_RWSIG #define CONFIG_RWSIG_TYPE_RWSIG #define CONFIG_RSA |