mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
816226d27e
Add a basic CPU driver that retrieves information about the microblaze CPU core. cpu_ops handlers are implemented so that the "cpu" command can work properly: U-Boot-mONStR> cpu list 0: cpu@0 MicroBlaze @ 50MHz, Rev: 11.0, FPGA family: zynq7000 U-Boot-mONStR> cpu detail 0: cpu@0 MicroBlaze @ 50MHz, Rev: 11.0, FPGA family: zynq7000 ID = 0, freq = 50 MHz: L1 cache, MMU Note: cpu_ver_lookup[] and family_string_lookup[] arrays were imported from linux. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Link: https://lore.kernel.org/r/20220531181435.3473549-14-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
30 lines
897 B
Text
30 lines
897 B
Text
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, then 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_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_MICROBLAZE
|
|
bool "Enable Microblaze CPU driver"
|
|
depends on CPU && MICROBLAZE
|
|
select EVENT
|
|
select DM_EVENT
|
|
select XILINX_MICROBLAZE0_PVR
|
|
help
|
|
Support CPU cores for Microblaze architecture.
|