diff options
author | Tristan Honscheid <honscheid@google.com> | 2022-05-20 11:47:18 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-13 17:34:46 +0000 |
commit | 35bce911748fe8b97b9ad598e996c20e6e5bac57 (patch) | |
tree | df5dd75bd8f4447fe9dd6121ac7327d76b88c35b /common/system.c | |
parent | df2d8989ba52ce25438a57ca3f505413fc64440a (diff) | |
download | chrome-ec-35bce911748fe8b97b9ad598e996c20e6e5bac57.tar.gz |
zephyr: Remove ec_version.h dependency on common/system.c
common/system.c includes ec_version.h to access its definition
of CROS_FWID_MISSING_STR. However, this is just a constant placeholder
for cases when an actual version string is not available. It does not
need to placed into the auto-generated ec_version.h header.
* Remove the code that adds the CROS_FWID_MISSING_STR definition in
zmake
* Place the #define macro into cros_version.h, which is included by
common/system.c already.
* Update zmake unit tests
BRANCH=None
BUG=None
TEST=zmake test test-drivers
Signed-off-by: Tristan Honscheid <honscheid@google.com>
Change-Id: I8bb8406823e7860162157c1baaa21440608f3eea
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3656257
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'common/system.c')
-rw-r--r-- | common/system.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c index 9b0e6f25a0..f53d444733 100644 --- a/common/system.c +++ b/common/system.c @@ -12,7 +12,6 @@ #include "console.h" #include "cpu.h" #include "cros_board_info.h" -#include "ec_version.h" #include "dma.h" #include "extpower.h" #include "flash.h" |