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:
parent
f099bcd497
commit
235033f4b7
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue