]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed.c
aspeed-soc: provide a framework to add new SoCs
authorCédric Le Goater <clg@kaod.org>
Thu, 22 Sep 2016 17:13:05 +0000 (18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2016 17:13:05 +0000 (18:13 +0100)
commitb033271f11a17debc1cc3e56f6b9fa319ebe2c45
tree9c47ce065b63cefcf02c4d536ad44498dddee97e
parentff90606f9ae5efd78f2ae98f31207c735e8580a5
aspeed-soc: provide a framework to add new SoCs

Let's define an object class for each Aspeed SoC we support. A
AspeedSoCInfo struct gathers the SoC specifications which can later be
used by an instance of the class or by a board using the SoC.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1473438177-26079-4-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed_soc.c
hw/arm/palmetto-bmc.c
include/hw/arm/aspeed_soc.h