diff options
Diffstat (limited to 'chip/g/usb_spi.h')
-rw-r--r-- | chip/g/usb_spi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chip/g/usb_spi.h b/chip/g/usb_spi.h index ed51780ebc..9d198a7dc2 100644 --- a/chip/g/usb_spi.h +++ b/chip/g/usb_spi.h @@ -66,8 +66,18 @@ enum usb_spi_request { USB_SPI_REQ_DISABLE = 0x0001, USB_SPI_REQ_ENABLE_AP = 0x0002, USB_SPI_REQ_ENABLE_EC = 0x0003, + USB_SPI_REQ_ENABLE_H1 = 0x0004, }; +/* USB SPI device indexes */ +enum usb_spi { + USB_SPI_DISABLE = 0, + USB_SPI_AP, + USB_SPI_EC, + USB_SPI_H1, +}; + + #define USB_SPI_MAX_WRITE_COUNT 62 #define USB_SPI_MAX_READ_COUNT 62 |