mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-04-17 20:11:02 +02:00
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@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/61ddd555f58ef5169c48b190423640d949e4aad1.1773764781.git.michal.simek@amd.com
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
config CPU
|
|
bool "Enable CPU drivers using Driver Model"
|
|
help
|
|
This allows drivers to be provided for CPUs and their type to be
|
|
specified in the board's device tree. For boards which support
|
|
multiple CPUs, they normally have to be set up in U-Boot so that
|
|
they can work correctly in the OS. This provides a framework for
|
|
finding out information about available CPUs and making changes.
|
|
|
|
config CPU_IMX
|
|
bool "Enable i.MX CPU driver"
|
|
depends on CPU && ARM64
|
|
help
|
|
Support CPU cores for SoCs of the i.MX series.
|
|
|
|
config CPU_MPC83XX
|
|
bool "Enable MPC83xx CPU driver"
|
|
depends on CPU && MPC83xx
|
|
select CLK_MPC83XX
|
|
help
|
|
Support CPU cores for SoCs of the MPC83xx series.
|
|
|
|
config CPU_RISCV
|
|
bool "Enable RISC-V CPU driver"
|
|
depends on CPU && RISCV
|
|
help
|
|
Support CPU cores for RISC-V architecture.
|
|
|
|
config CPU_ARMV8
|
|
bool "Enable generic ARMv8 CPU driver"
|
|
depends on CPU && ARM64
|
|
select IRQ
|
|
help
|
|
Support CPU cores for armv8 architecture.
|
|
|
|
config CPU_MICROBLAZE
|
|
bool "Enable Microblaze CPU driver"
|
|
depends on CPU && MICROBLAZE && XILINX_MICROBLAZE0_PVR
|
|
select DM_EVENT
|
|
help
|
|
Support CPU cores for Microblaze architecture.
|
|
|
|
config CPU_XTENSA
|
|
bool "Enable Xtensa CPU driver"
|
|
depends on CPU && XTENSA
|
|
help
|
|
Support CPU cores for Xtensa architecture.
|