summaryrefslogtreecommitdiff
path: root/board/kodama
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2020-09-26 09:12:55 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-29 06:36:11 +0000
commitb1e966390be0d14d609d7955cc5189713a2dd568 (patch)
tree7f193c1cb40bc6d6db06691977073e032d54d62c /board/kodama
parentad7938835f0c5260ce1887154aac7eab720b8dcf (diff)
downloadchrome-ec-b1e966390be0d14d609d7955cc5189713a2dd568.tar.gz
Kukui/baseboard: free flash space
Disable PD log and enable GPIO short name to save ~800 bytes for RO. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I326199411a3728b0ff6f5dc9531ad054245b31b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2432226 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kodama')
-rw-r--r--board/kodama/board.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/kodama/board.h b/board/kodama/board.h
index c4a4274f0b..cf71fe5dd2 100644
--- a/board/kodama/board.h
+++ b/board/kodama/board.h
@@ -34,13 +34,6 @@
#define CONFIG_I2C_NACK_RETRY_COUNT 3
#define CONFIG_SMBUS_PEC
-/* free flash space */
-#ifdef SECTION_IS_RO
-#undef CONFIG_USB_PD_DEBUG_LEVEL
-#define CONFIG_USB_PD_DEBUG_LEVEL 0
-#define CONFIG_COMMON_GPIO_SHORTNAMES
-#endif
-
/* Battery */
#define BATTERY_DESIRED_CHARGING_CURRENT 2000 /* mA */