mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 11:33:32 +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>
15 lines
451 B
Makefile
15 lines
451 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2015 Google, Inc
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
|
|
obj-$(CONFIG_CPU) += cpu-uclass.o
|
|
|
|
obj-$(CONFIG_ARCH_BMIPS) += bmips_cpu.o
|
|
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
|