]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/aspeed: Introduce aspeed_soc_cpu_type() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 25 Jan 2024 05:55:43 +0000 (06:55 +0100)
committerCédric Le Goater <clg@kaod.org>
Thu, 1 Feb 2024 07:13:30 +0000 (08:13 +0100)
commitd815649c512fc785508315ead66a43385cf55bfb
tree75d6ad79ea6622f8673d865ea922a859519ac0a7
parent43a0a5c9950edc2e194ef21c2deacc16df37179d
hw/arm/aspeed: Introduce aspeed_soc_cpu_type() helper

In order to alter AspeedSoCClass::cpu_type in the next
commit, introduce the aspeed_soc_cpu_type() helper to
retrieve the per-SoC CPU type from AspeedSoCClass.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast10x0.c
hw/arm/aspeed_ast2400.c
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc_common.c
include/hw/arm/aspeed_soc.h