summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-04-01 08:59:01 +1100
committerCommit Bot <commit-bot@chromium.org>2021-04-01 19:25:11 +0000
commit31ce1c0c9b926a4075b6036de7f9187ab61c695e (patch)
tree60b3686f645c86823d9dcf228ddec0b491f76c5e
parentbe928b9383a0227691040ec0bfa1def0a7d4c95c (diff)
downloadchrome-ec-31ce1c0c9b926a4075b6036de7f9187ab61c695e.tar.gz
ccd_config: clarify the definition of public flags
BUG=none TEST=none Change-Id: I23c35074f42e6e5d85890f4d5009f40425e89253 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799443 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rw-r--r--include/ccd_config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/ccd_config.h b/include/ccd_config.h
index 3952cb9bc9..a3d4410244 100644
--- a/include/ccd_config.h
+++ b/include/ccd_config.h
@@ -47,7 +47,12 @@ enum ccd_flag {
/* (flags in the middle are unused) */
- /* Flags that can be set via ccd_set_flags(); fill from top down */
+ /*
+ * Flags that can be set via ccd_set_flags(); fill from top down.
+ *
+ * Note: To use ccd_set_flags a flag has to be a part of k_public_flags
+ * in ccd_config.c.
+ */
/* Override BATT_PRES_L at boot */
CCD_FLAG_OVERRIDE_BATT_AT_BOOT = BIT(20),