Skip to content

Commit 94cc451

Browse files
committed
drivers: Add relevant changes for dependency resolution
A few device drivers need to get the dependency properly set up. This is only true for non-DT based devices. One of the changes being the device "unike token" which was made of capital letter for some reason on crypto side etc... Basically, legcay things that should disappear and be fully managed at DTS level. Signed-off-by: Tomasz Bursztyka <[email protected]>
1 parent d5578fd commit 94cc451

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

drivers/crypto/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION
4343

4444
config CRYPTO_TINYCRYPT_SHIM_DRV_NAME
4545
string "Device name for TinyCrypt Pseudo device"
46-
default "CRYPTO_TC"
46+
default "crypto_tinycrypt"
4747
depends on CRYPTO_TINYCRYPT_SHIM
4848
help
4949
Device name for TinyCrypt Pseudo device.
@@ -61,7 +61,7 @@ config CRYPTO_MBEDTLS_SHIM
6161

6262
config CRYPTO_MBEDTLS_SHIM_DRV_NAME
6363
string "Device name for mbedTLS Pseudo device"
64-
default "CRYPTO_MTLS"
64+
default "crypto_mtls"
6565
depends on CRYPTO_MBEDTLS_SHIM
6666
help
6767
Device name for mbedTLS Pseudo device.

drivers/net/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ zephyr_library()
44

55
zephyr_library_sources_ifdef(CONFIG_NET_LOOPBACK loopback.c)
66
zephyr_library_sources_ifdef(CONFIG_NET_CANBUS canbus.c)
7+
zephyr_add_device_init_ifdef(CONFIG_NET_CANBUS canbus_device.yaml)
78

89
if(CONFIG_NET_NATIVE)
910
zephyr_library_sources_ifdef(CONFIG_SLIP slip.c)

drivers/net/canbus_device.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
device:
2+
net_canbus:
3+
init:
4+
dependencies:
5+
- zephyr,canbus

0 commit comments

Comments
 (0)