diff options
-rw-r--r-- | zephyr/Kconfig.system | 7 | ||||
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/zephyr/Kconfig.system b/zephyr/Kconfig.system index d6fd5b07e0..f55e5ad7ed 100644 --- a/zephyr/Kconfig.system +++ b/zephyr/Kconfig.system @@ -4,6 +4,13 @@ if PLATFORM_EC +config PLATFORM_EC_CONSOLE_CMD_SYSINFO + bool "Console Command: sysinfo" + default y + help + Enable the sysinfo console command, which shows statistics + about the current image copy running, reset flags, etc. + config PLATFORM_EC_HIBERNATE_PSL bool "System hibernating with PSL (Power Switch Logic) mechanism" depends on SOC_FAMILY_NPCX diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index e0ca82c1c9..dd0bd908d7 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1311,6 +1311,11 @@ #define CONFIG_MPU #endif +#undef CONFIG_CMD_SYSINFO +#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_SYSINFO +#define CONFIG_CMD_SYSINFO +#endif + #undef CONFIG_CMD_SYSJUMP #ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_SYSJUMP #define CONFIG_CMD_SYSJUMP |