From 18d1d54d05499461d10eec4fca4f9e72eb0cbace Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Wed, 15 Feb 2017 11:46:35 -0800 Subject: [PATCH] cr50: Remove 'crash' command from prod images. It should only be available in debug builds. BUG=None BRANCH=None TEST=Flash a prod image. Verify crash command is missing. Change-Id: I71ad2ffa149d09d9e822009f992eb668980158ab Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/443404 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Vadim Bendebury --- board/cr50/board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/board/cr50/board.h b/board/cr50/board.h index 5f1bc82cde..7b1b7f9665 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -28,6 +28,7 @@ #ifndef CR50_DEV /* Disable stuff that should only be in debug builds */ +#undef CONFIG_CMD_CRASH #undef CONFIG_CMD_MD #undef CONFIG_CMD_RW #undef CONFIG_CMD_SLEEPMASK