diff options
Diffstat (limited to 'board/servo_micro')
-rw-r--r-- | board/servo_micro/board.c | 4 | ||||
-rw-r--r-- | board/servo_micro/board.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/board/servo_micro/board.c b/board/servo_micro/board.c index f22bda4342..5ee94f032b 100644 --- a/board/servo_micro/board.c +++ b/board/servo_micro/board.c @@ -154,12 +154,11 @@ USB_STREAM_CONFIG(usart4_usb, /****************************************************************************** * Define the strings used in our USB descriptors. */ - const void *const usb_strings[] = { [USB_STR_DESC] = usb_string_desc, [USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."), [USB_STR_PRODUCT] = USB_STRING_DESC("Servo Micro"), - [USB_STR_SERIALNO] = USB_STRING_DESC("1234-a"), + [USB_STR_SERIALNO] = 0, [USB_STR_VERSION] = USB_STRING_DESC(CROS_EC_VERSION32), [USB_STR_USART4_STREAM_NAME] = USB_STRING_DESC("Servo UART3"), [USB_STR_CONSOLE_NAME] = USB_STRING_DESC("Servo EC Shell"), @@ -169,7 +168,6 @@ const void *const usb_strings[] = { BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT); - /****************************************************************************** * Support SPI bridging over USB, this requires usb_spi_board_enable and * usb_spi_board_disable to be defined to enable and disable the SPI bridge. diff --git a/board/servo_micro/board.h b/board/servo_micro/board.h index 48f9368436..7efb2fc3dd 100644 --- a/board/servo_micro/board.h +++ b/board/servo_micro/board.h @@ -87,6 +87,9 @@ #include "gpio_signal.h" +#define CONFIG_USB_SERIALNO +#define DEFAULT_SERIALNO "Uninitialized" + /* USB string indexes */ enum usb_strings { USB_STR_DESC = 0, |