diff options
author | Rob Barnes <robbarnes@google.com> | 2021-09-01 10:16:44 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-03 17:32:44 +0000 |
commit | 00f94055e51eb110742d189f11347e145196d6ce (patch) | |
tree | abc13034e981ec8a85bc6ec60a4ce65853550514 /board/servo_v4 | |
parent | 13f1d5d189319942b3ec4f53bcb3ac086195703e (diff) | |
download | chrome-ec-00f94055e51eb110742d189f11347e145196d6ce.tar.gz |
servo_v4: Enable DEBUG_ASSERT_BRIEF for RO
Enable CONFIG_DEBUG_ASSERT_BRIEF for RO to reduce flash size. Only
applying to RO since that is where space is most limited.
BUG=None
TEST=Build all
BRANCH=None
Change-Id: I29ba1496c75a5cd1ee2e9484f67ce3f08fbda982
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3136038
Reviewed-by: Brian J. Nemec <bnemec@chromium.org>
Diffstat (limited to 'board/servo_v4')
-rw-r--r-- | board/servo_v4/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/servo_v4/board.h b/board/servo_v4/board.h index 9ff102978c..f932752ef4 100644 --- a/board/servo_v4/board.h +++ b/board/servo_v4/board.h @@ -10,6 +10,11 @@ #define CONFIG_LTO +/* Free up flash space */ +#ifdef SECTION_IS_RO +#define CONFIG_DEBUG_ASSERT_BRIEF +#endif + /* * Board Versions: * Versions are designated by the PCB color and consist of red, blue, and |