mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/arm/aspeed: Move AspeedSoCState::cpu/vic to Aspeed2400SoCState
The ARM array and VIC peripheral are only used by the 2400 series, remove them from the common AspeedSoCState. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
c17fc02571
commit
dd41ce7a6f
3 changed files with 19 additions and 15 deletions
|
@ -49,14 +49,12 @@
|
|||
struct AspeedSoCState {
|
||||
DeviceState parent;
|
||||
|
||||
ARMCPU cpu[ASPEED_CPUS_NUM];
|
||||
MemoryRegion *memory;
|
||||
MemoryRegion *dram_mr;
|
||||
MemoryRegion dram_container;
|
||||
MemoryRegion sram;
|
||||
MemoryRegion spi_boot_container;
|
||||
MemoryRegion spi_boot;
|
||||
AspeedVICState vic;
|
||||
AspeedRtcState rtc;
|
||||
AspeedTimerCtrlState timerctrl;
|
||||
AspeedI2CState i2c;
|
||||
|
@ -99,6 +97,9 @@ OBJECT_DECLARE_TYPE(AspeedSoCState, AspeedSoCClass, ASPEED_SOC)
|
|||
|
||||
struct Aspeed2400SoCState {
|
||||
AspeedSoCState parent;
|
||||
|
||||
ARMCPU cpu[ASPEED_CPUS_NUM];
|
||||
AspeedVICState vic;
|
||||
};
|
||||
|
||||
#define TYPE_ASPEED2400_SOC "aspeed2400-soc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue