summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/flash.c')
-rw-r--r--common/flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/flash.c b/common/flash.c
index d35701d70d..cdd4219394 100644
--- a/common/flash.c
+++ b/common/flash.c
@@ -698,9 +698,9 @@ static int command_flash_info(int argc, char **argv)
ccputs("\n");
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(flashinfo, command_flash_info,
- NULL,
- "Print flash info");
+DECLARE_SAFE_CONSOLE_COMMAND(flashinfo, command_flash_info,
+ NULL,
+ "Print flash info");
#ifdef CONFIG_CMD_FLASH
static int command_flash_erase(int argc, char **argv)