mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
i.MX: rename i.MX CCM get_clock() function and CLK ID enum names
This is to prepare for CCM code refactoring. This is just a bit of function and enum values renaming. We also remove some useless intermediate variables. Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Message-id: 53c4d9b9611988a5f56f178f285e04490747925e.1449528242.git.jcd@tribudubois.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
9de46a0aa3
commit
aaa9ec3b4d
4 changed files with 25 additions and 27 deletions
|
@ -80,12 +80,12 @@ typedef struct IMXCCMState {
|
|||
|
||||
typedef enum {
|
||||
NOCLK,
|
||||
MCU,
|
||||
HSP,
|
||||
IPG,
|
||||
CLK_MCU,
|
||||
CLK_HSP,
|
||||
CLK_IPG,
|
||||
CLK_32k
|
||||
} IMXClk;
|
||||
|
||||
uint32_t imx_clock_frequency(DeviceState *s, IMXClk clock);
|
||||
uint32_t imx_ccm_get_clock_frequency(DeviceState *s, IMXClk clock);
|
||||
|
||||
#endif /* IMX_CCM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue