drivers: hwinfo: litex: depend on devicetree

make litex hwinfo dependent of enabled state of device.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
Fin Maaß 2024-08-29 14:38:19 +02:00 committed by Anas Nashif
parent f099bcd497
commit 235033f4b7

View file

@ -188,6 +188,7 @@ config HWINFO_LITEX
bool "LiteX device ID" bool "LiteX device ID"
default y default y
depends on SOC_LITEX_VEXRISCV depends on SOC_LITEX_VEXRISCV
depends on DT_HAS_LITEX_DNA0_ENABLED
select HWINFO_HAS_DRIVER select HWINFO_HAS_DRIVER
help help
Enable LiteX hwinfo driver Enable LiteX hwinfo driver