Skip to content

Commit 14b58e0

Browse files
committed
[ot] hw: opentitan: add I2C transport device to Kconfig and meson
Signed-off-by: Alice Ziuziakowska <[email protected]>
1 parent fee319b commit 14b58e0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

hw/opentitan/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,13 @@ config OT_HMAC
7575
config OT_I2C
7676
imply I2C_ECHO
7777
imply DS1338
78+
select OT_I2C_TRANSPORT
7879
select I2C
7980
bool
8081

82+
config OT_I2C_TRANSPORT
83+
bool
84+
8185
config OT_IBEX_WRAPPER
8286
select OT_VMAPPER
8387
bool

hw/opentitan/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ system_ss.add(when: 'CONFIG_OT_GPIO_DJ', if_true: files('ot_gpio_dj.c'))
2525
system_ss.add(when: 'CONFIG_OT_GPIO_EG', if_true: files('ot_gpio_eg.c'))
2626
system_ss.add(when: 'CONFIG_OT_HMAC', if_true: [files('ot_hmac.c'), libtomcrypt_dep])
2727
system_ss.add(when: 'CONFIG_OT_I2C', if_true: files('ot_i2c.c'))
28+
system_ss.add(when: 'CONFIG_OT_I2C_TRANSPORT', if_true: files('ot_i2c_transport.c'))
2829
system_ss.add(when: 'CONFIG_OT_IBEX_WRAPPER', if_true: files('ot_ibex_wrapper.c'))
2930
system_ss.add(when: 'CONFIG_OT_KEY_SINK', if_true: files('ot_key_sink.c'))
3031
system_ss.add(when: 'CONFIG_OT_KEYMGR', if_true: files('ot_keymgr.c'))

0 commit comments

Comments
 (0)