diff options
Diffstat (limited to 'board/fizz')
-rw-r--r-- | board/fizz/board.c | 7 | ||||
-rw-r--r-- | board/fizz/board.h | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c index cc4450cbcc..212d609f81 100644 --- a/board/fizz/board.c +++ b/board/fizz/board.c @@ -54,13 +54,6 @@ #define CPRINTS(format, args...) cprints(CC_USBCHARGE, format, ## args) #define CPRINTF(format, args...) cprintf(CC_USBCHARGE, format, ## args) -uint16_t host_command_suppressed[] = { - EC_CMD_CONSOLE_SNAPSHOT, - EC_CMD_CONSOLE_READ, - EC_CMD_PD_GET_LOG_ENTRY, - HOST_COMMAND_SUPPRESS_DELIMITER, -}; - static void tcpc_alert_event(enum gpio_signal signal) { if (!gpio_get_level(GPIO_USB_C0_PD_RST_ODL)) diff --git a/board/fizz/board.h b/board/fizz/board.h index b9c7b93da6..3ee3e86dd1 100644 --- a/board/fizz/board.h +++ b/board/fizz/board.h @@ -29,7 +29,6 @@ #define CONFIG_DPTF #define CONFIG_FLASH_SIZE 0x80000 #define CONFIG_FPU -#define CONFIG_SUPPRESS_HOST_COMMANDS #define CONFIG_I2C #define CONFIG_I2C_MASTER #undef CONFIG_LID_SWITCH @@ -52,6 +51,8 @@ #define CONFIG_THROTTLE_AP #define CONFIG_CHIPSET_CAN_THROTTLE #define CONFIG_PWM +#define CONFIG_SUPPRESSED_HOST_COMMANDS \ + EC_CMD_CONSOLE_SNAPSHOT, EC_CMD_CONSOLE_READ, EC_CMD_PD_GET_LOG_ENTRY /* EC console commands */ #define CONFIG_CMD_BUTTON |