generic.h (84abd88a70090cf00f9e45c3a81680874f17626e) generic.h (be370302742ff9948f2a42b15cb2ba174d97b930)
1/*
2 * linux/arch/arm/mach-pxa/generic.h
3 *
4 * Author: Nicolas Pitre
5 * Copyright: MontaVista Software Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

21extern void __init pxa27x_init_irq(void);
22extern void __init pxa3xx_init_irq(void);
23extern void __init pxa_map_io(void);
24
25extern unsigned int get_clk_frequency_khz(int info);
26
27#define SET_BANK(__nr,__start,__size) \
28 mi->bank[__nr].start = (__start), \
1/*
2 * linux/arch/arm/mach-pxa/generic.h
3 *
4 * Author: Nicolas Pitre
5 * Copyright: MontaVista Software Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

21extern void __init pxa27x_init_irq(void);
22extern void __init pxa3xx_init_irq(void);
23extern void __init pxa_map_io(void);
24
25extern unsigned int get_clk_frequency_khz(int info);
26
27#define SET_BANK(__nr,__start,__size) \
28 mi->bank[__nr].start = (__start), \
29 mi->bank[__nr].size = (__size), \
30 mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
29 mi->bank[__nr].size = (__size)
31
32#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
33
34#ifdef CONFIG_PXA25x
35extern unsigned pxa25x_get_clk_frequency_khz(int);
36extern unsigned pxa25x_get_memclk_frequency_10khz(void);
37#else
38#define pxa25x_get_clk_frequency_khz(x) (0)

--- 36 unchanged lines hidden ---
30
31#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
32
33#ifdef CONFIG_PXA25x
34extern unsigned pxa25x_get_clk_frequency_khz(int);
35extern unsigned pxa25x_get_memclk_frequency_10khz(void);
36#else
37#define pxa25x_get_clk_frequency_khz(x) (0)

--- 36 unchanged lines hidden ---