summaryrefslogtreecommitdiff
path: root/drivers/cpu/Makefile
diff options
context:
space:
mode:
authorOvidiu Panait <[email protected]>2022-05-31 21:14:35 +0300
committerMichal Simek <[email protected]>2022-06-24 14:16:00 +0200
commit816226d27efa22d89821dfd0796f763a24c33944 (patch)
treed68cb4e53ca64c646950f6f26a6648927ea7cec4 /drivers/cpu/Makefile
parent9df16c5937f68654fb2b67f932319c375f8e4e45 (diff)
cpu: add CPU driver for microblaze
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'drivers/cpu/Makefile')
-rw-r--r--drivers/cpu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpu/Makefile b/drivers/cpu/Makefile
index c8532637ca7..20884b17953 100644
--- a/drivers/cpu/Makefile
+++ b/drivers/cpu/Makefile
@@ -11,4 +11,5 @@ obj-$(CONFIG_ARCH_IMX8) += imx8_cpu.o
obj-$(CONFIG_ARCH_AT91) += at91_cpu.o
obj-$(CONFIG_CPU_MPC83XX) += mpc83xx_cpu.o
obj-$(CONFIG_CPU_RISCV) += riscv_cpu.o
+obj-$(CONFIG_CPU_MICROBLAZE) += microblaze_cpu.o
obj-$(CONFIG_SANDBOX) += cpu_sandbox.o