summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/system_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/system_common.c b/common/system_common.c
index 5fdb6a23dd..8434d5faec 100644
--- a/common/system_common.c
+++ b/common/system_common.c
@@ -594,8 +594,7 @@ DECLARE_CONSOLE_COMMAND(sysinfo, command_sysinfo,
"Print system info",
NULL);
-#define CONFIG_CONSOLE_CMD_SCRATCHPAD
-#ifdef CONFIG_CONSOLE_CMD_SCRATCHPAD
+#ifdef CONFIG_CMD_SCRATCHPAD
static int command_scratchpad(int argc, char **argv)
{
int rv = EC_SUCCESS;
@@ -615,7 +614,7 @@ DECLARE_CONSOLE_COMMAND(scratchpad, command_scratchpad,
"[val]",
"Get or set scratchpad value",
NULL);
-#endif /* CONFIG_CONSOLE_CMD_SCRATCHPAD */
+#endif /* CONFIG_CMD_SCRATCHPAD */
static int command_hibernate(int argc, char **argv)
{