From 00fdda91a4642c8c29a246ce28abc2528992d77a Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 7 Oct 2016 10:50:50 -0700 Subject: [PATCH] Cr50: Disable sysinfo, sysjump, syslock The sysjump capability is not used in Cr50 (it either does nothing or causes a hard reboot), so just disable these commands. BUG=none BRANCH=none TEST=make buildall; test on Gru Build with and without CR50_DEV=1, confirm that these commands aren't present. Change-Id: Idf882f10a2f750ac0d04cb3d35bb1d6f45cb6cee Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/395566 Reviewed-by: Randall Spangler --- board/cr50/board.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/cr50/board.h b/board/cr50/board.h index 00185d30a2..9eb67991a2 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -13,13 +13,15 @@ #undef CONFIG_FMAP #undef CONFIG_HIBERNATE #undef CONFIG_LID_SWITCH +#undef CONFIG_CMD_SYSINFO +#undef CONFIG_CMD_SYSJUMP +#undef CONFIG_CMD_SYSLOCK #ifndef CR50_DEV /* Disable stuff that should only be in debug builds */ #undef CONFIG_CMD_MD #undef CONFIG_CMD_RW #undef CONFIG_CMD_SLEEPMASK -#undef CONFIG_CMD_SYSJUMP #undef CONFIG_CMD_WAITMS #undef CONFIG_FLASH #endif