diff options
Diffstat (limited to 'chip/lm4')
-rw-r--r-- | chip/lm4/config_chip.h | 1 | ||||
-rw-r--r-- | chip/lm4/system.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/chip/lm4/config_chip.h b/chip/lm4/config_chip.h index 4db95cc42d..020a5d7c09 100644 --- a/chip/lm4/config_chip.h +++ b/chip/lm4/config_chip.h @@ -95,6 +95,7 @@ #define CONFIG_HOSTCMD_ALIGNED #define CONFIG_HOSTCMD_LPC #define CONFIG_PECI +#define CONFIG_RTC #define CONFIG_SWITCH #define CONFIG_MPU diff --git a/chip/lm4/system.c b/chip/lm4/system.c index 625a4076e2..45f6b91809 100644 --- a/chip/lm4/system.c +++ b/chip/lm4/system.c @@ -660,7 +660,6 @@ const char *system_get_chip_revision(void) /*****************************************************************************/ /* Console commands */ -#ifdef CONFIG_CMD_RTC void print_system_rtc(enum console_channel ch) { uint32_t rtc; @@ -671,6 +670,7 @@ void print_system_rtc(enum console_channel ch) rtc, rtcss, rtc, HIB_RTC_SUBSEC_TO_USEC(rtcss)); } +#ifdef CONFIG_CMD_RTC static int command_system_rtc(int argc, char **argv) { if (argc == 3 && !strcasecmp(argv[1], "set")) { |