diff options
Diffstat (limited to 'board/host/board.h')
-rw-r--r-- | board/host/board.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/board/host/board.h b/board/host/board.h index ad65749c3d..8ccdd40b80 100644 --- a/board/host/board.h +++ b/board/host/board.h @@ -77,10 +77,26 @@ enum { #define CONFIG_SPI_MASTER #define CONFIG_SPI_FP_PORT 1 /* SPI1: third master config */ +/* UART indexes (use define rather than enum to expand them) */ +enum { + UART_DEFAULT = 0, + UART_CR50 = 0, + UART_AP = 1, + UART_EC = 2, + UART_COUNT, + + UART_NULL = 0xff, +}; + #define CONFIG_RNG void fps_event(enum gpio_signal signal); /* Let the tests always check the other NVMEM slot. */ static inline int board_nvmem_legacy_check_needed(void){ return 1; } +/* Mock functions for EC-CR50 communication test */ +int board_has_ec_cr50_comm_support(void); +void board_reboot_ec_deferred(int usec_delay); +void ccd_update_state(void); + #endif /* __CROS_EC_BOARD_H */ |