Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 Eric Benard - eric@eukrea.com |
| 3 | * |
| 4 | * Based on board-pcm038.h which is : |
| 5 | * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) |
| 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 | |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 22 | #ifndef __MACH_EUKREA_BASEBOARDS_H__ |
| 23 | #define __MACH_EUKREA_BASEBOARDS_H__ |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 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 |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 30 | * inside eukrea_cpuimx25_init() eukrea_cpuimx27_init() |
Eric Bénard | 70b1726 | 2010-10-12 16:12:36 +0200 | [diff] [blame] | 31 | * eukrea_cpuimx35_init() eukrea_cpuimx51_init() |
| 32 | * or eukrea_cpuimx51sd_init(). |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 33 | * |
| 34 | * This example here is for the development board. Refer |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 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 |
Eric Bénard | ef93f14 | 2010-07-23 16:11:19 +0200 | [diff] [blame] | 38 | * mach-mx5/eukrea_mbimx51-baseboard.c for cpuimx51 |
Eric Bénard | 70b1726 | 2010-10-12 16:12:36 +0200 | [diff] [blame] | 39 | * mach-mx5/eukrea_mbimxsd-baseboard.c for cpuimx51sd |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 40 | */ |
| 41 | |
Eric Bénard | ec53fe3 | 2010-07-30 22:58:40 +0200 | [diff] [blame] | 42 | extern void eukrea_mbimxsd25_baseboard_init(void); |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 43 | extern void eukrea_mbimx27_baseboard_init(void); |
Eric Bénard | ec53fe3 | 2010-07-30 22:58:40 +0200 | [diff] [blame] | 44 | extern void eukrea_mbimxsd35_baseboard_init(void); |
Eric Bénard | ef93f14 | 2010-07-23 16:11:19 +0200 | [diff] [blame] | 45 | extern void eukrea_mbimx51_baseboard_init(void); |
Eric Bénard | 70b1726 | 2010-10-12 16:12:36 +0200 | [diff] [blame] | 46 | extern void eukrea_mbimxsd51_baseboard_init(void); |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 47 | |
| 48 | #endif |
| 49 | |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 50 | #endif /* __MACH_EUKREA_BASEBOARDS_H__ */ |