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: 816226d27e ("cpu: add CPU driver for microblaze")
Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/61ddd555f58ef5169c48b190423640d949e4aad1.1773764781.git.michal.simek@amd.com
This commit is contained in:
+1
-2
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user