imx31_ccm.c (d1f8764099022bc1173f2413331b26d4ff609a0c) imx31_ccm.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * IMX31 Clock Control Module
3 *
4 * Copyright (C) 2012 NICTA
5 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 *
10 * To get the timer frequencies right, we need to emulate at least part of
11 * the i.MX31 CCM.
12 */
13
14#include "qemu/osdep.h"
15#include "hw/misc/imx31_ccm.h"
1/*
2 * IMX31 Clock Control Module
3 *
4 * Copyright (C) 2012 NICTA
5 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 *
10 * To get the timer frequencies right, we need to emulate at least part of
11 * the i.MX31 CCM.
12 */
13
14#include "qemu/osdep.h"
15#include "hw/misc/imx31_ccm.h"
16#include "qemu/log.h"
16
17#define CKIH_FREQ 26000000 /* 26MHz crystal input */
18
19#ifndef DEBUG_IMX31_CCM
20#define DEBUG_IMX31_CCM 0
21#endif
22
23#define DPRINTF(fmt, args...) \

--- 321 unchanged lines hidden ---
17
18#define CKIH_FREQ 26000000 /* 26MHz crystal input */
19
20#ifndef DEBUG_IMX31_CCM
21#define DEBUG_IMX31_CCM 0
22#endif
23
24#define DPRINTF(fmt, args...) \

--- 321 unchanged lines hidden ---