aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven Lee <steven_lee@aspeedtech.com>2022-05-02 17:03:02 +0200
committerCédric Le Goater <clg@kaod.org>2022-05-02 17:03:02 +0200
commitbad23bb64447594e3027f4792dbe46edfc9204f6 (patch)
tree82b1ede1300710dc23186f9f4451ed29228ed3dd /include
parentdd7f19a963ca4e1bbfb65b72d555efcc507a2d78 (diff)
downloadqemu-bad23bb64447594e3027f4792dbe46edfc9204f6.zip
qemu-bad23bb64447594e3027f4792dbe46edfc9204f6.tar.gz
qemu-bad23bb64447594e3027f4792dbe46edfc9204f6.tar.bz2
hw: aspeed_scu: Introduce clkin_25Mhz attribute
AST2600 clkin is always 25MHz, introduce clkin_25Mhz attribute for aspeed_scu_get_clkin() to return the correct clkin for ast2600. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220315075753.8591-3-steven_lee@aspeedtech.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/aspeed_scu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h
index 8c4c8c8..6d3f86c 100644
--- a/include/hw/misc/aspeed_scu.h
+++ b/include/hw/misc/aspeed_scu.h
@@ -59,6 +59,7 @@ struct AspeedSCUClass {
uint32_t (*get_apb)(AspeedSCUState *s);
uint32_t apb_divider;
uint32_t nr_regs;
+ bool clkin_25Mhz;
const MemoryRegionOps *ops;
};