summaryrefslogtreecommitdiff
path: root/board/freescale/common/tcpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/tcpc.h')
-rw-r--r--board/freescale/common/tcpc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/freescale/common/tcpc.h b/board/freescale/common/tcpc.h
index 82fcddaf192..ff749518a8b 100644
--- a/board/freescale/common/tcpc.h
+++ b/board/freescale/common/tcpc.h
@@ -456,11 +456,14 @@ int tcpc_setup_ufp_mode(struct tcpc_port *port)
{
return 0;
}
-#endif
-#ifdef CONFIG_SPL_BUILD
int tcpc_setup_dfp_mode(struct tcpc_port *port)
{
return 0;
}
+
+int tcpc_disable_src_vbus(struct tcpc_port *port)
+{
+ return 0;
+}
#endif
#endif /* __TCPCI_H */