Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
eukrea-baseboards.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 Eric Benard - [email protected]
3  *
4  * Based on board-pcm038.h which is :
5  * Copyright (C) 2008 Juergen Beisert ([email protected])
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  */
21 
22 #ifndef __MACH_EUKREA_BASEBOARDS_H__
23 #define __MACH_EUKREA_BASEBOARDS_H__
24 
25 #ifndef __ASSEMBLY__
26 /*
27  * This CPU module needs a baseboard to work. After basic initializing
28  * its own devices, it calls baseboard's init function.
29  * TODO: Add your own baseboard init function and call it from
30  * inside eukrea_cpuimx25_init() eukrea_cpuimx27_init()
31  * eukrea_cpuimx35_init() eukrea_cpuimx51_init()
32  * or eukrea_cpuimx51sd_init().
33  *
34  * This example here is for the development board. Refer
35  * mach-mx25/eukrea_mbimxsd-baseboard.c for cpuimx25
36  * mach-imx/eukrea_mbimx27-baseboard.c for cpuimx27
37  * mach-mx3/eukrea_mbimxsd-baseboard.c for cpuimx35
38  * mach-mx5/eukrea_mbimx51-baseboard.c for cpuimx51
39  * mach-mx5/eukrea_mbimxsd-baseboard.c for cpuimx51sd
40  */
41 
42 extern void eukrea_mbimxsd25_baseboard_init(void);
43 extern void eukrea_mbimx27_baseboard_init(void);
44 extern void eukrea_mbimxsd35_baseboard_init(void);
45 extern void eukrea_mbimx51_baseboard_init(void);
46 extern void eukrea_mbimxsd51_baseboard_init(void);
47 
48 #endif
49 
50 #endif /* __MACH_EUKREA_BASEBOARDS_H__ */