diff options
-rw-r--r-- | board/prism/board.h | 8 | ||||
-rw-r--r-- | board/prism/ec.tasklist | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/board/prism/board.h b/board/prism/board.h index 49a08d73e2..5c3cabce53 100644 --- a/board/prism/board.h +++ b/board/prism/board.h @@ -131,13 +131,9 @@ /* USB interface indexes (use define rather than enum to expand them) */ #undef CONFIG_HOSTCMD_EVENTS #define USB_IFACE_UPDATE 0 -#ifdef SECTION_IS_RW #define CONFIG_HOST_INTERFACE_USB #define USB_IFACE_HOSTCMD 1 #define USB_IFACE_COUNT 2 -#else -#define USB_IFACE_COUNT 1 -#endif /* USB endpoint indexes (use define rather than enum to expand them) */ #define USB_EP_CONTROL 0 @@ -162,14 +158,14 @@ #undef CONFIG_LID_SWITCH +#define CONFIG_USB_CONSOLE_READ + #ifdef SECTION_IS_RW #define CONFIG_CURVE25519 #define CONFIG_USB_PAIRING -#define CONFIG_USB_CONSOLE_READ - #else /* SECTION_IS_RO */ /* Sign and switch to RW partition on boot. */ #define CONFIG_RWSIG diff --git a/board/prism/ec.tasklist b/board/prism/ec.tasklist index 501be4a1db..810ef8489b 100644 --- a/board/prism/ec.tasklist +++ b/board/prism/ec.tasklist @@ -10,5 +10,5 @@ TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1280) \ TASK_ALWAYS (HOOKS, hook_task, NULL, 1024) \ TASK_ALWAYS_RW(RGBKBD, rgbkbd_task, NULL, 2048) \ - TASK_ALWAYS_RW(HOSTCMD, host_command_task, NULL, 1024) \ + TASK_ALWAYS (HOSTCMD, host_command_task, NULL, 1024) \ TASK_ALWAYS (CONSOLE, console_task, NULL, 1024) |