summaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 19:24:19 -0600
committerTom Rini <[email protected]>2026-03-30 16:59:35 -0600
commit0da1866a8fdd4d4bc4837ef2af281dbe010ae16b (patch)
treeddf863bd093e9be9dc5c53cd89a3c1ed081ffcc8 /drivers/core
parentbdbe24b2a27c47e854a8ddfe89bffa0e609c24eb (diff)
core: Rework REGMAP symbols implementation
As exposed by "make randconfig", we have an issue with the dependencies for REGMAP (and xPL variants). As this is a library function, it should always be selected and not depended on by other functionality. This is largely done correctly today, so just correct the few outliers. Acked-by: Anshul Dalal <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/Kconfig19
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index c9253099e6e..5419bf65b5d 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -195,7 +195,7 @@ config DM_DMA
the physical address space.
config REGMAP
- bool "Support register maps"
+ bool
depends on DM
select DEVRES
help
@@ -206,7 +206,7 @@ config REGMAP
direct memory access.
config SPL_REGMAP
- bool "Support register maps in SPL"
+ bool
depends on SPL_DM
help
Hardware peripherals tend to have one or more sets of registers
@@ -216,7 +216,7 @@ config SPL_REGMAP
direct memory access.
config TPL_REGMAP
- bool "Support register maps in TPL"
+ bool
depends on TPL_DM
help
Hardware peripherals tend to have one or more sets of registers
@@ -226,7 +226,7 @@ config TPL_REGMAP
direct memory access.
config VPL_REGMAP
- bool "Support register maps in VPL"
+ bool
depends on VPL_DM
help
Hardware peripherals tend to have one or more sets of registers
@@ -237,7 +237,7 @@ config VPL_REGMAP
config SYSCON
bool "Support system controllers"
- depends on REGMAP
+ select REGMAP
help
Many SoCs have a number of system controllers which are dealt with
as a group by a single driver. Some common functionality is provided
@@ -246,7 +246,8 @@ config SYSCON
config SPL_SYSCON
bool "Support system controllers in SPL"
- depends on SPL_REGMAP
+ depends on SPL_DM
+ select SPL_REGMAP
help
Many SoCs have a number of system controllers which are dealt with
as a group by a single driver. Some common functionality is provided
@@ -255,7 +256,8 @@ config SPL_SYSCON
config TPL_SYSCON
bool "Support system controllers in TPL"
- depends on TPL_REGMAP
+ depends on TPL_DM
+ select TPL_REGMAP
help
Many SoCs have a number of system controllers which are dealt with
as a group by a single driver. Some common functionality is provided
@@ -264,7 +266,8 @@ config TPL_SYSCON
config VPL_SYSCON
bool "Support system controllers in VPL"
- depends on VPL_REGMAP
+ depends on VPL_DM
+ select VPL_REGMAP
help
Many SoCs have a number of system controllers which are dealt with
as a group by a single driver. Some common functionality is provided