Skip to content

Commit

Permalink
drivers: hwinfo: litex: depend on devicetree
Browse files Browse the repository at this point in the history
make litex hwinfo dependent of enabled state of device.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg authored and nashif committed Aug 29, 2024
1 parent f099bcd commit 235033f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwinfo/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ config HWINFO_LITEX
bool "LiteX device ID"
default y
depends on SOC_LITEX_VEXRISCV
depends on DT_HAS_LITEX_DNA0_ENABLED
select HWINFO_HAS_DRIVER
help
Enable LiteX hwinfo driver
Expand Down

0 comments on commit 235033f

Please sign in to comment.