summaryrefslogtreecommitdiff
path: root/board/host/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/host/board.c')
-rw-r--r--board/host/board.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/host/board.c b/board/host/board.c
index 80ac631d19..cccb6f15ec 100644
--- a/board/host/board.c
+++ b/board/host/board.c
@@ -5,6 +5,7 @@
/* Emulator board-specific configuration */
#include "button.h"
+#include "ec_comm.h"
#include "extpower.h"
#include "gpio.h"
#include "host_command.h"
@@ -89,3 +90,27 @@ int board_get_entropy(void *buffer, int len)
return 1;
}
#endif
+
+test_mockable void ccd_update_state(void)
+{
+
+}
+
+test_mockable void ec_comm_packet_mode_en(enum gpio_signal unsed)
+{
+
+}
+
+test_mockable void ec_comm_packet_mode_dis(enum gpio_signal unsed)
+{
+
+}
+
+int board_has_ec_cr50_comm_support(void)
+{
+#ifdef CONFIG_EC_EFS_SUPPORT
+ return 1;
+#else
+ return 0;
+#endif
+}