diff options
Diffstat (limited to 'board/samus_pd/board.h')
-rw-r--r-- | board/samus_pd/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/samus_pd/board.h b/board/samus_pd/board.h index b84771a352..fc3eaff898 100644 --- a/board/samus_pd/board.h +++ b/board/samus_pd/board.h @@ -34,6 +34,11 @@ #define I2C_PORT_SLAVE 0 #define I2C_PORT_EC I2C_PORT_SLAVE +/* slave address for host commands */ +#ifdef HAS_TASK_HOSTCMD +#define CONFIG_HOSTCMD_I2C_SLAVE_ADDR CONFIG_USB_PD_I2C_SLAVE_ADDR +#endif + /* * Allow dangerous commands all the time, since we don't have a write protect * switch. |