diff options
author | Cédric Le Goater | 2019-09-04 09:05:06 +0200 |
---|---|---|
committer | Peter Maydell | 2019-09-13 17:05:01 +0200 |
commit | a8f07376c9b3e5bce736bdcf6f49dc63fa4a516b (patch) | |
tree | 01b50ae984bb7485197e163775953a1f13b22318 /qom | |
parent | aspeed/scu: Introduce per-SoC SCU types (diff) | |
download | qemu-a8f07376c9b3e5bce736bdcf6f49dc63fa4a516b.tar.gz qemu-a8f07376c9b3e5bce736bdcf6f49dc63fa4a516b.tar.xz qemu-a8f07376c9b3e5bce736bdcf6f49dc63fa4a516b.zip |
aspeed/scu: Introduce a aspeed_scu_get_apb_freq() routine
The APB frequency can be calculated directly when needed from the
HPLL_PARAM and CLK_SEL register values. This removes useless state in
the model.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20190904070506.1052-11-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions