summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-08-05 15:37:04 -0600
committerCommit Bot <commit-bot@chromium.org>2021-08-11 19:28:49 +0000
commit3d2ae8ca95243525b3ccfc102356b9dfb4104b85 (patch)
tree4966f9f945b6cb612290b59f3da6acc15eaf90e0
parentd8ea9049c7433e186dfbdc8e7e1fd42eae2e0503 (diff)
downloadchrome-ec-3d2ae8ca95243525b3ccfc102356b9dfb4104b85.tar.gz
Eldrid: Free space on NPCX796 board
Remove the PD PRL debug strings in order to free up space on this board. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id8deceaf28ffbecbe6ce1d9accdf66726d7af9d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078408 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/eldrid/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/eldrid/board.h b/board/eldrid/board.h
index 06bac9b18d..f915797d87 100644
--- a/board/eldrid/board.h
+++ b/board/eldrid/board.h
@@ -19,6 +19,9 @@
* any unused flash space that can be used to store the .init_rom section.
*/
#undef CONFIG_CHIP_INIT_ROM_REGION
+#else
+/* Free up some flash space for smaller chips */
+#define CONFIG_USB_PD_DEBUG_LEVEL 2
#endif
#define CONFIG_VBOOT_EFS2