diff options
author | Diana Z <dzigterman@chromium.org> | 2022-05-04 09:23:16 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-04 17:54:06 +0000 |
commit | ca53b80ed7585e4febeeaa2edc6cc36be9719865 (patch) | |
tree | 0cfa963064156098efacfbc096064ed7d24e0b1a | |
parent | e7668fb860382490950217b1bdf2cc0dbb0974a4 (diff) | |
download | chrome-ec-ca53b80ed7585e4febeeaa2edc6cc36be9719865.tar.gz |
Lazor: Reduce flash usage
Lazor has less than 100 bytes free flash on ToT. Reduce the flash usage
by compiling out the higher-level PD debug strings.
BRANCH=None
BUG=None
TEST=build and observe lazor now has 700 bytes free flash
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I9bbc5bb13dfc9ba020903c9966edcb0714e7b516
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3627804
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | board/lazor/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h index a4851948d9..fdf82f4e1c 100644 --- a/board/lazor/board.h +++ b/board/lazor/board.h @@ -13,6 +13,9 @@ /* Internal SPI flash on NPCX7 */ #define CONFIG_FLASH_SIZE_BYTES (512 * 1024) /* 512KB internal spi flash */ +/* Reduce flash usage */ +#define CONFIG_USB_PD_DEBUG_LEVEL 2 + /* Switchcap */ #define CONFIG_LN9310 |