[PATCH] cpu: microblaze: Fix unmet direct dependencies for XILINX_MICROBLAZE0_PVR

Michal Simek michal.simek at amd.com
Mon Mar 23 14:57:31 CET 2026



On 3/17/26 17:26, Michal Simek wrote:
> 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 <trini at konsulko.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   drivers/cpu/Kconfig | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/cpu/Kconfig b/drivers/cpu/Kconfig
> index 6a96be94de49..c805c0bbfa19 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.
>   

Applied.
M


More information about the U-Boot mailing list