diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-05-24 16:04:21 -0500 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-25 20:46:56 +0000 |
commit | 6460246a9a587b084582f092a0ebf96cfd1aaa56 (patch) | |
tree | a230f8b270e91df82f785678b02d448e6066363e /chip/g | |
parent | 491b6948b4cb58fddb70652f533bdcb10ae1eec1 (diff) | |
download | chrome-ec-6460246a9a587b084582f092a0ebf96cfd1aaa56.tar.gz |
H1_RED_BOARD: force rddkeepalive
Enable rddkeepalive on red boards, so nothing needs to be done to enable
ccd.
BUG=none
TEST=build red board image. Make sure ccd is automatically enabled.
Change-Id: If629ead1307d8d12cd36678bae792f1109a0839c
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2916575
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'chip/g')
-rw-r--r-- | chip/g/rdd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/g/rdd.c b/chip/g/rdd.c index 5d154ecae0..054e8af3d6 100644 --- a/chip/g/rdd.c +++ b/chip/g/rdd.c @@ -212,6 +212,10 @@ void init_rdd_state(void) /* Restore the rddkeepalive atboot state from the ccd flags. */ force_detected = ccd_get_flag(CCD_FLAG_RDDKEEPALIVE_AT_BOOT); +#ifdef H1_RED_BOARD + CPRINTS("Red board rddkeepalive enabled."); + force_detected = 1; +#endif if (force_detected) hook_call_deferred(&rdd_connect_data, 0); } |