summaryrefslogtreecommitdiff
path: root/board/yorp
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-04-30 10:31:57 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-05-01 02:13:29 -0700
commita5695793ba99a4b2af8f95e31a3a8ba23df4d567 (patch)
tree00d0804ff40277a3b993a3e101eee06d7ffd2e9f /board/yorp
parentbbb5edb220834dc563893311fc371526087af708 (diff)
downloadchrome-ec-a5695793ba99a4b2af8f95e31a3a8ba23df4d567.tar.gz
anx7447: convert automatic OCM erase into command
We do not want to erase the OCM flash automatically so we can ensure that we fix our supply chain issues. Add a command that will erase the OCM if needed. BRANCH=none BUG=b:77658388 TEST=verified command works on yorp Change-Id: Iaf6ada3b1e223d15ae0d9624bdcc54b90cb33b64 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1035428 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/yorp')
-rw-r--r--board/yorp/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/yorp/board.h b/board/yorp/board.h
index ccf9efcdf0..b25269e003 100644
--- a/board/yorp/board.h
+++ b/board/yorp/board.h
@@ -84,7 +84,7 @@
#undef CONFIG_USB_PD_TCPC_LOW_POWER
#undef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
#define CONFIG_USB_PD_TCPM_ANX7447 /* C0 TCPC: ANX7447QN */
-#define CONFIG_USB_PD_TCPM_ANX7447_OCM_ERASE
+#define CONFIG_USB_PD_TCPM_ANX7447_OCM_ERASE_COMMAND
#define CONFIG_USB_PD_TCPM_PS8751 /* C1 TCPC: PS8751 */
#define CONFIG_USB_PD_TCPM_MUX
#define CONFIG_USB_PD_TCPM_TCPCI