summary refs log tree commit diff stats
path: root/hw/misc/aspeed_sbc.c
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
commitdd7f19a963ca4e1bbfb65b72d555efcc507a2d78 (patch)
treee6cefb9f1442711cf5ccaf6af08cd4f9bae8cd8a /hw/misc/aspeed_sbc.c
parentf5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 (diff)
downloadfocaccia-qemu-dd7f19a963ca4e1bbfb65b72d555efcc507a2d78.tar.gz
focaccia-qemu-dd7f19a963ca4e1bbfb65b72d555efcc507a2d78.zip
hw: aspeed_scu: Add AST2600 apb_freq and hpll calculation function
AST2600's HPLL register offset and bit definition are different from
AST2500. Add a hpll calculation function and an apb frequency calculation
function based on SCU200 register description in ast2600v11.pdf.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[ clg: checkpatch fixes ]
Message-Id: <20220315075753.8591-2-steven_lee@aspeedtech.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/misc/aspeed_sbc.c')
0 files changed, 0 insertions, 0 deletions