summaryrefslogtreecommitdiff
path: root/board/strago
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-01-06 17:02:49 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-07 20:12:58 -0800
commit126f48aa3f31065cb0f340a68219fa7894f1b53b (patch)
tree1ab62633dfe39d3956ec549d2da86d7f02b8b444 /board/strago
parentc7c04e673efe535e00003fa66c83f7b19a5a0786 (diff)
downloadchrome-ec-126f48aa3f31065cb0f340a68219fa7894f1b53b.tar.gz
pd: Add common EC_HOST_EVENT_PD_MCU implementation
For TCPMs with an off chip TCPC, PD MCU host event status can be handled in a common way. When a status flag is updated (ex. from charge_manager), notify the AP through the host event, and save the status flag for later retrieval. BUG=chrome-os-partner:49124 BRANCH=None TEST=Verify `cat /sys/class/power_supply/CROS_USB_PD_CHARGER1/online` on chell reflects the actual online status of the charger. Also verify UI charge icon tracks the online status correctly. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I63bc70205627474590e38ffd282faedaea3bcc66 Reviewed-on: https://chromium-review.googlesource.com/320796 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'board/strago')
-rw-r--r--board/strago/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/strago/board.h b/board/strago/board.h
index bb64cc5d6e..1bf563a642 100644
--- a/board/strago/board.h
+++ b/board/strago/board.h
@@ -99,6 +99,8 @@
/* Modules we want to exclude */
#undef CONFIG_CMD_HASH
#undef CONFIG_CMD_HOSTCMD
+#undef CONFIG_CMD_I2C_SCAN
+#undef CONFIG_CMD_IDLE_STATS
#undef CONFIG_CMD_PD
#undef CONFIG_CMD_SHMEM
#undef CONFIG_CMD_TEMP_SENSOR