ARM: at91: pm: prepare for multiplatform
[deliverable/linux.git] / arch / arm / mach-at91 / generic.h
CommitLineData
73a59c1c 1/*
9d041268 2 * linux/arch/arm/mach-at91/generic.h
73a59c1c
SP
3 *
4 * Copyright (C) 2005 David Brownell
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
1bd59dbe
MR
11#ifndef _AT91_GENERIC_H
12#define _AT91_GENERIC_H
13
8014d6f4 14#include <linux/of.h>
7b6d864b 15#include <linux/reboot.h>
bd602995 16
1b021a3b 17 /* Map io */
21d08b9d 18extern void __init at91_map_io(void);
726d32bf 19extern void __init at91_alt_map_io(void);
f0051d82
JCPV
20extern void __init at91_init_sram(int bank, unsigned long base,
21 unsigned int length);
1b021a3b 22
2eeaaa21 23 /* Processors */
2b11ea5b 24extern void __init at91_dt_initialize(void);
2eeaaa21 25
ba854e18 26 /* Timer */
6bb27d73 27extern void at91rm9200_timer_init(void);
73a59c1c 28
0d781716
JCPV
29/* idle */
30extern void at91sam9_idle(void);
31
4342d647
JCPV
32/* Matrix */
33extern void at91_ioremap_matrix(u32 base_addr);
4db0ba22
AB
34
35
36#ifdef CONFIG_PM
37extern void __init at91_rm9200_pm_init(void);
38extern void __init at91_sam9260_pm_init(void);
39extern void __init at91_sam9g45_pm_init(void);
40#else
41void __init at91_rm9200_pm_init(void) { }
42void __init at91_sam9260_pm_init(void) { }
43void __init at91_sam9g45_pm_init(void) { }
44#endif
45
1bd59dbe 46#endif /* _AT91_GENERIC_H */
This page took 0.5971 seconds and 5 git commands to generate.