aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-05-01 10:03:52 +0200
committerCédric Le Goater <clg@kaod.org>2021-05-01 10:03:52 +0200
commit1c5ee69da5e65cc04055b304a784d82fd04de764 (patch)
treeb524199504d316271d1a5791523faad80a959055 /include
parent8efbee28f4729f16cae5cbf93a029bfa55198fc2 (diff)
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')
-rw-r--r--include/hw/ssi/aspeed_smc.h2
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;