summaryrefslogtreecommitdiff
path: root/board/homestar
diff options
context:
space:
mode:
authortongjian <tongjian@huaqin.corp-partner.google.com>2021-07-22 17:41:21 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-23 04:54:01 +0000
commit916fa64ce70441acb9928fda963282d0d5772b63 (patch)
treec2db82bd74417c0a5bd8da0ad13be79a3ae70cd2 /board/homestar
parentd7d8a72b24ba3f1b5845ac2d1fa61b032a2f5075 (diff)
downloadchrome-ec-916fa64ce70441acb9928fda963282d0d5772b63.tar.gz
Homestar:BACKLIGHT:Remove CONFIG_BACKLIGHT_LID
Because of the oled panel poweron timing, BL_DISABLE does not need to be controlled by ec. BUG=b:194197448 TEST=make -j BOARD=homestar Verify build on SIT board BRANCH=Trogdo Signed-off-by: tongjian <tongjian@huaqin.corp-partner.google.com> Change-Id: I1723f7def2c9358b137cfe813094b54a1a3974e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045418 Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/homestar')
-rw-r--r--board/homestar/board.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/homestar/board.h b/board/homestar/board.h
index d3fa5121d3..650ba638ec 100644
--- a/board/homestar/board.h
+++ b/board/homestar/board.h
@@ -54,6 +54,14 @@
#define CONFIG_DETACHABLE_BASE
#define CONFIG_BASE_ATTACHED_SWITCH
+/*
+ * Oled panel need to setup both vcc and backlight, AP will ctrl them.
+ * BL_DISABLE does not need to be controlled by ec.
+ */
+#ifdef CONFIG_BACKLIGHT_LID
+#undef CONFIG_BACKLIGHT_LID
+#endif
+
/* GPIO alias */
#define GPIO_AC_PRESENT GPIO_CHG_ACOK_OD
#define GPIO_WP_L GPIO_EC_FLASH_WP_ODL