Skip to content

Commit 5973b55

Browse files
cyliangtwjhedberg
authored andcommitted
drivers: hwinfo: generalize the numaker config
Modify the numaker configuration to make it more general instead of depending on specific SoC. Signed-off-by: cyliang tw <cyliang@nuvoton.com>
1 parent 9aaa9c4 commit 5973b55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/hwinfo/Kconfig.numaker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
config HWINFO_NUMAKER
55
bool "NuMaker hwinfo"
66
default y
7-
depends on SOC_SERIES_M46X || SOC_SERIES_M55M1X
7+
depends on DT_HAS_NUVOTON_NUMAKER_FMC_ENABLED
88
select HWINFO_HAS_DRIVER
99
select HAS_NUMAKER_FMC
1010
help

drivers/hwinfo/Kconfig.numaker_rmc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
config HWINFO_NUMAKER_RMC
55
bool "NuMaker hwinfo backed up by RMC"
66
default y
7-
depends on SOC_SERIES_M2L31X
7+
depends on DT_HAS_NUVOTON_NUMAKER_RMC_ENABLED
88
select HWINFO_HAS_DRIVER
99
select HAS_NUMAKER_RMC
1010
help

0 commit comments

Comments
 (0)