generic.c (85e9ca333d03fbd56b9e123c8456f0d98e20faad) generic.c (04fef228fb00dd79475a2313f4ba73b4fbfe2faa)
1/*
2 * linux/arch/arm/mach-pxa/generic.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code common to all PXA machines.

--- 12 unchanged lines hidden (view full) ---

21#include <linux/init.h>
22
23#include <asm/hardware.h>
24#include <asm/system.h>
25#include <asm/pgtable.h>
26#include <asm/mach/map.h>
27
28#include <asm/arch/pxa-regs.h>
1/*
2 * linux/arch/arm/mach-pxa/generic.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code common to all PXA machines.

--- 12 unchanged lines hidden (view full) ---

21#include <linux/init.h>
22
23#include <asm/hardware.h>
24#include <asm/system.h>
25#include <asm/pgtable.h>
26#include <asm/mach/map.h>
27
28#include <asm/arch/pxa-regs.h>
29#include <asm/arch/reset.h>
29
30#include "generic.h"
31
30
31#include "generic.h"
32
33void clear_reset_status(unsigned int mask)
34{
35 if (cpu_is_pxa2xx())
36 pxa2xx_clear_reset_status(mask);
37
38 if (cpu_is_pxa3xx())
39 pxa3xx_clear_reset_status(mask);
40}
41
32/*
33 * Get the clock frequency as reflected by CCCR and the turbo flag.
34 * We assume these values have been applied via a fcs.
35 * If info is not 0 we also display the current settings.
36 */
37unsigned int get_clk_frequency_khz(int info)
38{
39 if (cpu_is_pxa21x() || cpu_is_pxa25x())

--- 69 unchanged lines hidden ---
42/*
43 * Get the clock frequency as reflected by CCCR and the turbo flag.
44 * We assume these values have been applied via a fcs.
45 * If info is not 0 we also display the current settings.
46 */
47unsigned int get_clk_frequency_khz(int info)
48{
49 if (cpu_is_pxa21x() || cpu_is_pxa25x())

--- 69 unchanged lines hidden ---