diff options
-rw-r--r-- | board/cr50/board.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index 7d11abd60d..00185d30a2 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -14,6 +14,16 @@ #undef CONFIG_HIBERNATE #undef CONFIG_LID_SWITCH +#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 + /* Flash configuration */ #undef CONFIG_FLASH_PSTATE /* TODO(crosbug.com/p/44745): Bringup only! Do the right thing for real! */ |