summaryrefslogtreecommitdiff
path: root/board/puff/board.h
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2020-01-20 13:18:14 +1100
committerCommit Bot <commit-bot@chromium.org>2020-01-21 00:59:51 +0000
commit1afa04df3f399d5885ada9a9fbaec0f208f47bad (patch)
treecb42df5e280bc7a4a781bd9675c2d983fec02578 /board/puff/board.h
parentadd663e8d4bd0d756e8bbdb40b819abdfb27ea8a (diff)
downloadchrome-ec-1afa04df3f399d5885ada9a9fbaec0f208f47bad.tar.gz
puff: always claim AC power is online
powerd logs lots of warnings if it can't see any online power supplies, which could be the case when the EC comes up without the barrel jack then boots with it- the host flag never gets updated. Since we don't have a battery on puff and we don't allow switching power sources while the system is on (we gate the inactive one), just always say there is external power (because there is). BUG=b:147977614 TEST=/sys/class/power_supply/AC/online is now always 1, even when running on USB-C. BRANCH=None Change-Id: I87345b8a3f07a88f2dccda4b7226bf0b8ee07e2f Signed-off-by: Peter Marheine <pmarheine@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2009529 Reviewed-by: Sam McNally <sammc@chromium.org>
Diffstat (limited to 'board/puff/board.h')
-rw-r--r--board/puff/board.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/puff/board.h b/board/puff/board.h
index 5eac746c07..d8db1d112e 100644
--- a/board/puff/board.h
+++ b/board/puff/board.h
@@ -129,9 +129,6 @@
/* Check: */
#define CONFIG_POWER_BUTTON_INIT_IDLE
#define CONFIG_POWER_COMMON
-/* from fizz - Check */
-/* check: #define CONFIG_EXTPOWER_DEBOUNCE_MS */
-#define CONFIG_EXTPOWER_GPIO
#define CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD 30
#define CONFIG_DELAY_DSW_PWROK_TO_PWRBTN
#define CONFIG_POWER_PP5000_CONTROL