From 528ff711f6f22c7899d2c29dae3e1ff2d331bef2 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Tue, 26 Feb 2019 16:25:28 -0700 Subject: ec: cleanup: Add CONFIG_RTC This allows the chipset task to print RTC information, without requiring CONFIG_CMD_RTC to be enabled. BUG=chromium:649851 BRANCH=none TEST=Built and flashed on grunt (careena), confirmed RTC state printed when the power state was changed, but without RTC command present Change-Id: I6b11c4d2822117c57febdacf299a865710ed1edd Signed-off-by: Jack Rosenthal Reviewed-on: https://chromium-review.googlesource.com/1490672 Commit-Ready: ChromeOS CL Exonerator Bot Reviewed-by: Tim Wawrzynczak Reviewed-by: Raul E Rangel Reviewed-by: Jett Rink --- chip/npcx/config_chip.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chip/npcx/config_chip.h') diff --git a/chip/npcx/config_chip.h b/chip/npcx/config_chip.h index 494f76c352..97f52963fd 100644 --- a/chip/npcx/config_chip.h +++ b/chip/npcx/config_chip.h @@ -57,6 +57,7 @@ /* Optional features present on this chip */ #define CONFIG_ADC +#define CONFIG_RTC #define CONFIG_SWITCH #define CONFIG_MPU -- cgit v1.2.1