blob: a21d3313f9942eeb5233e74490d2f68c78ae1b4b [file] [log] [blame]
Eric Bénard21744f12010-06-10 16:07:50 +02001/*
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énard95afd092010-07-23 14:56:40 +020022#ifndef __MACH_EUKREA_BASEBOARDS_H__
23#define __MACH_EUKREA_BASEBOARDS_H__
Eric Bénard21744f12010-06-10 16:07:50 +020024
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énard95afd092010-07-23 14:56:40 +020030 * inside eukrea_cpuimx25_init() eukrea_cpuimx27_init()
Eric Bénard70b17262010-10-12 16:12:36 +020031 * eukrea_cpuimx35_init() eukrea_cpuimx51_init()
32 * or eukrea_cpuimx51sd_init().
Eric Bénard21744f12010-06-10 16:07:50 +020033 *
34 * This example here is for the development board. Refer
Eric Bénard95afd092010-07-23 14:56:40 +020035 * 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énardef93f142010-07-23 16:11:19 +020038 * mach-mx5/eukrea_mbimx51-baseboard.c for cpuimx51
Eric Bénard70b17262010-10-12 16:12:36 +020039 * mach-mx5/eukrea_mbimxsd-baseboard.c for cpuimx51sd
Eric Bénard21744f12010-06-10 16:07:50 +020040 */
41
Eric Bénardec53fe32010-07-30 22:58:40 +020042extern void eukrea_mbimxsd25_baseboard_init(void);
Eric Bénard95afd092010-07-23 14:56:40 +020043extern void eukrea_mbimx27_baseboard_init(void);
Eric Bénardec53fe32010-07-30 22:58:40 +020044extern void eukrea_mbimxsd35_baseboard_init(void);
Eric Bénardef93f142010-07-23 16:11:19 +020045extern void eukrea_mbimx51_baseboard_init(void);
Eric Bénard70b17262010-10-12 16:12:36 +020046extern void eukrea_mbimxsd51_baseboard_init(void);
Eric Bénard21744f12010-06-10 16:07:50 +020047
48#endif
49
Eric Bénard95afd092010-07-23 14:56:40 +020050#endif /* __MACH_EUKREA_BASEBOARDS_H__ */