diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-01-05 14:23:53 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-06 16:37:52 +0000 |
commit | b63c2bbf5c9773956874e6220bd54317b39d39d2 (patch) | |
tree | fd719b6dcf03a6212b8f80b8f682396e8bd91853 /include | |
parent | 3ab745a4517ec5b1ee7f0c9bea544ea6f33a5c53 (diff) | |
download | chrome-ec-b63c2bbf5c9773956874e6220bd54317b39d39d2.tar.gz |
zephyr: add a fake shared memory implementation for posix-ec
CL:2575207 was not tested against posix-ec and caused build issues.
posix-ec does not have the _image_ram_end symbol available. This adds
a new configuration for a fake 1MB shared memory option, and enables
it for posix architecture by default.
Note that if this CL (or an alternative fix) cannot be landed in a
timely fashion, CL:2575207 and any CLs which depend on it should be
reverted so we can enable the CQ again and stop stepping on our own
toes.
BUG=b:176828988
BRANCH=none
TEST=run zephyr-chrome firmware_builder.py
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I1d828f480c6a5da0b162a124c8a5a62ae8afb444
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611985
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 40e64b05df..3cc3c6d696 100644 --- a/include/config.h +++ b/include/config.h @@ -1683,6 +1683,9 @@ /* Default debounce time for external power signal */ #define CONFIG_EXTPOWER_DEBOUNCE_MS 30 +/* Enable fake shared memory buffer, which is used by emulators. */ +#undef CONFIG_FAKE_SHMEM + /*****************************************************************************/ /* Number of cooling fans. Undef if none. */ #undef CONFIG_FANS |