summaryrefslogtreecommitdiff
path: root/fuzz/fuzz_config.h
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-03-02 21:32:59 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-03 16:21:48 +0000
commit55709d8850459e63c641924fad8f2fabd33cd5e4 (patch)
tree41efaa4ea69feabc10e859ad8f7514da2dc6501e /fuzz/fuzz_config.h
parentc8834820cb706bb9b4b31575246e5c8be4621127 (diff)
downloadchrome-ec-55709d8850459e63c641924fad8f2fabd33cd5e4.tar.gz
zephyr: Fix version command
The current config_chip used by Zephyr defaulted to setting the RO header size and offset to 0 if the header was turned off. This isn't correct as the CONFIG_PLATFORM_EC_RO_HEADER just tells us whether or not to generate the header, whereas the _SIZE and _OFFSET values should still be there even in the RW image. Now running `version` from both the RO and RW image shows: 21-03-02 21:28:21.455 Chip: chromeos emu 21-03-02 21:28:21.460 Board: 1 21-03-02 21:28:21.486 RO: _v2.0.7727+3f8b76fa7 21-03-02 21:28:21.496 RW: _v2.0.7727+3f8b76fa7 21-03-02 21:28:21.497 Build: _v2.0.7727+3f8b76fa7 21-03-02 21:28:21.500 2021-03-02 21:01:09 BRANCH=none BUG=b:181599007 TEST=built/flashed volteer and ran `version` from both RO and RW images Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I435f224fc2b3b3a5ca54d3335ea8cd50e9ab5a2e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2731287 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'fuzz/fuzz_config.h')
0 files changed, 0 insertions, 0 deletions