mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
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>
This commit is contained in:
parent
dd7f19a963
commit
bad23bb644
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue