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 |
Alexander Shiyan | 7c5deaf | 2014-07-26 17:41:08 +0400 | [diff] [blame] | 30 | * inside eukrea_cpuimx25_init() or eukrea_cpuimx35_init() |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 31 | * |
| 32 | * This example here is for the development board. Refer |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 33 | * mach-mx25/eukrea_mbimxsd-baseboard.c for cpuimx25 |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 34 | * mach-mx3/eukrea_mbimxsd-baseboard.c for cpuimx35 |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 35 | */ |
| 36 | |
Eric Bénard | ec53fe3 | 2010-07-30 22:58:40 +0200 | [diff] [blame] | 37 | extern void eukrea_mbimxsd25_baseboard_init(void); |
Eric Bénard | ec53fe3 | 2010-07-30 22:58:40 +0200 | [diff] [blame] | 38 | extern void eukrea_mbimxsd35_baseboard_init(void); |
Eric Bénard | 21744f1 | 2010-06-10 16:07:50 +0200 | [diff] [blame] | 39 | |
| 40 | #endif |
| 41 | |
Eric Bénard | 95afd09 | 2010-07-23 14:56:40 +0200 | [diff] [blame] | 42 | #endif /* __MACH_EUKREA_BASEBOARDS_H__ */ |