summaryrefslogtreecommitdiff
path: root/drivers/cpu
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-03-17 17:26:22 +0100
committerMichal Simek <[email protected]>2026-03-27 14:49:32 +0100
commitfcc50761f3d0518c4d1693f75d2e79ad7b108355 (patch)
treea3a1a43c5ff836db51529aa053b6baede62dc3b2 /drivers/cpu
parent5d771fc684405b135f003ab3b226e8bc24fd2889 (diff)
cpu: microblaze: Fix unmet direct dependencies for XILINX_MICROBLAZE0_PVR
As exposed by "make randconfig", CPU_MICROBLAZE uses select to force-enable XILINX_MICROBLAZE0_PVR, but that symbol depends on TARGET_MICROBLAZE_GENERIC. The select bypasses this dependency chain, triggering a Kconfig warning: WARNING: unmet direct dependencies detected for XILINX_MICROBLAZE0_PVR Depends on [n]: MICROBLAZE [=y] && TARGET_MICROBLAZE_GENERIC [=n] Selected by [y]: - CPU_MICROBLAZE [=y] && CPU [=y] && MICROBLAZE [=y] Change XILINX_MICROBLAZE0_PVR from select to depends on, so that the CPU driver is only available when PVR support has been explicitly enabled. Fixes: 816226d27efa ("cpu: add CPU driver for microblaze") Reported-by: Tom Rini <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/61ddd555f58ef5169c48b190423640d949e4aad1.1773764781.git.michal.simek@amd.com
Diffstat (limited to 'drivers/cpu')
-rw-r--r--drivers/cpu/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpu/Kconfig b/drivers/cpu/Kconfig
index 6a96be94de4..c805c0bbfa1 100644
--- a/drivers/cpu/Kconfig
+++ b/drivers/cpu/Kconfig
@@ -35,9 +35,8 @@ config CPU_ARMV8
config CPU_MICROBLAZE
bool "Enable Microblaze CPU driver"
- depends on CPU && MICROBLAZE
+ depends on CPU && MICROBLAZE && XILINX_MICROBLAZE0_PVR
select DM_EVENT
- select XILINX_MICROBLAZE0_PVR
help
Support CPU cores for Microblaze architecture.