Skip to content

Commit b3d7d26

Browse files
engdoreispamaury
authored andcommitted
[opentitan, usbdev] Create a dummy usbdev block
Signed-off-by: Douglas Reis <[email protected]> Signed-off-by: Amaury Pouly <[email protected]>
1 parent ffc53c9 commit b3d7d26

File tree

7 files changed

+708
-9
lines changed

7 files changed

+708
-9
lines changed

hw/opentitan/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ config OT_TIMER
182182
config OT_UART
183183
bool
184184

185+
config OT_USBDEV
186+
bool
187+
185188
config OT_UNIMP
186189
bool
187190

hw/opentitan/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ system_ss.add(when: 'CONFIG_OT_SPI_HOST', if_true: files('ot_spi_host.c'))
5555
system_ss.add(when: 'CONFIG_OT_SRAM_CTRL', if_true: files('ot_sram_ctrl.c'))
5656
system_ss.add(when: 'CONFIG_OT_TIMER', if_true: files('ot_timer.c'))
5757
system_ss.add(when: 'CONFIG_OT_UART', if_true: files('ot_uart.c'))
58+
system_ss.add(when: 'CONFIG_OT_USBDEV', if_true: files('ot_usbdev.c'))
5859
system_ss.add(when: 'CONFIG_OT_UNIMP', if_true: files('ot_unimp.c'))
5960

6061
riscv_ss.add(when: 'CONFIG_OT_VMAPPER', if_true: files('ot_vmapper.c'))

0 commit comments

Comments
 (0)