diff options
author | Cédric Le Goater | 2021-05-01 10:03:52 +0200 |
---|---|---|
committer | Cédric Le Goater | 2021-05-01 10:03:52 +0200 |
commit | 1c5ee69da5e65cc04055b304a784d82fd04de764 (patch) | |
tree | b524199504d316271d1a5791523faad80a959055 /include/hw/ssi | |
parent | hw/misc/aspeed_xdma: Add AST2600 support (diff) | |
download | qemu-1c5ee69da5e65cc04055b304a784d82fd04de764.tar.gz qemu-1c5ee69da5e65cc04055b304a784d82fd04de764.tar.xz qemu-1c5ee69da5e65cc04055b304a784d82fd04de764.zip |
aspeed/smc: Add a 'features' attribute to the object class
It will simplify extensions of the SMC model.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20210407171637.777743-15-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/ssi')
-rw-r--r-- | include/hw/ssi/aspeed_smc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h index 6ea2871cd8..07879fd1c4 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -47,7 +47,7 @@ typedef struct AspeedSMCController { const AspeedSegments *segments; hwaddr flash_window_base; uint32_t flash_window_size; - bool has_dma; + uint32_t features; hwaddr dma_flash_mask; hwaddr dma_dram_mask; uint32_t nregs; |