diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-10-28 09:29:17 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-28 17:09:22 +0000 |
commit | d0d016254ccfa4db4edebd8e51b428b80001bcba (patch) | |
tree | 953274e6b0a5d7a6138a98353d0c2a8ee8830197 /include | |
parent | 81296f2109f4e5696ffc3e7df765537fdb309a78 (diff) | |
download | chrome-ec-d0d016254ccfa4db4edebd8e51b428b80001bcba.tar.gz |
ec: Add #line directive to config_chip.h
There is a problem, where sometimes the coverage for 1 board (so far
always brya RO) will be off by one line. It seems to be related to the
file build-??/zephyr/include/generated/autoconf.h. Adding a #line
directive to the config_chip.h file, which includes autoconf.h, appears
to fix the problem.
BRANCH=None
BUG=b:256008706,b:253131248
TEST=zmake build --coverage brya
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Ib8cc8fca38b5b914cc1f6d87cc74956728327ee6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3988861
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/chipset.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/chipset.h b/include/chipset.h index e0c8f9536e..fd7455f9f7 100644 --- a/include/chipset.h +++ b/include/chipset.h @@ -28,7 +28,6 @@ * approximating this state?" and not "Tell me what state the chipset is in and * I'll compare it myself with the state(s) I want." */ -#line 31 /* The comment above some how confuses the preprocessor. */ enum chipset_state_mask { CHIPSET_STATE_HARD_OFF = 0x01, /* Hard off (G3) */ CHIPSET_STATE_SOFT_OFF = 0x02, /* Soft off (S5, S4) */ |