mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
hw/arm/aspeed: Move AspeedSoCState::armv7m to Aspeed10x0SoCState
The v7-M core is specific to the Aspeed 10x0 series, remove it 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
24a88476ff
commit
a0c2103070
3 changed files with 25 additions and 20 deletions
|
@ -47,13 +47,10 @@
|
|||
#define ASPEED_JTAG_NUM 2
|
||||
|
||||
struct AspeedSoCState {
|
||||
/*< private >*/
|
||||
DeviceState parent;
|
||||
|
||||
/*< public >*/
|
||||
ARMCPU cpu[ASPEED_CPUS_NUM];
|
||||
A15MPPrivState a7mpcore;
|
||||
ARMv7MState armv7m;
|
||||
MemoryRegion *memory;
|
||||
MemoryRegion *dram_mr;
|
||||
MemoryRegion dram_container;
|
||||
|
@ -117,6 +114,8 @@ OBJECT_DECLARE_SIMPLE_TYPE(Aspeed2600SoCState, ASPEED2600_SOC)
|
|||
|
||||
struct Aspeed10x0SoCState {
|
||||
AspeedSoCState parent;
|
||||
|
||||
ARMv7MState armv7m;
|
||||
};
|
||||
|
||||
#define TYPE_ASPEED10X0_SOC "aspeed10x0-soc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue