From 68a6995fe530568470c7825f87f2df10edb06060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Tue, 8 Jun 2010 11:03:01 +0200 Subject: [PATCH] --- yaml --- r: 201584 b: refs/heads/master c: 6f1fa706fc06dac9ba088e884ec8110475e42704 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-mx25/Kconfig | 18 ++ trunk/arch/arm/mach-mx25/Makefile | 2 + .../arm/mach-mx25/eukrea_mbimxsd-baseboard.c | 260 ++++++++++++++++++ trunk/arch/arm/mach-mx25/mach-cpuimx25.c | 172 ++++++++++++ .../include/mach/board-eukrea_cpuimx25.h | 40 +++ 6 files changed, 493 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c create mode 100644 trunk/arch/arm/mach-mx25/mach-cpuimx25.c create mode 100644 trunk/arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx25.h diff --git a/[refs] b/[refs] index 95e8ddfd8270..dc8d8a16042d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8402ed30e16c65ad8560ba3293c7cf9c259712eb +refs/heads/master: 6f1fa706fc06dac9ba088e884ec8110475e42704 diff --git a/trunk/arch/arm/mach-mx25/Kconfig b/trunk/arch/arm/mach-mx25/Kconfig index 54d217314ee9..3a6668eebf9a 100644 --- a/trunk/arch/arm/mach-mx25/Kconfig +++ b/trunk/arch/arm/mach-mx25/Kconfig @@ -5,4 +5,22 @@ comment "MX25 platforms:" config MACH_MX25_3DS bool "Support MX25PDK (3DS) Platform" +config MACH_EUKREA_CPUIMX25 + bool "Support Eukrea CPUIMX25 Platform" + select MXC_ULPI if USB_ULPI + +choice + prompt "Baseboard" + depends on MACH_EUKREA_CPUIMX25 + default MACH_EUKREA_MBIMXSD_BASEBOARD + +config MACH_EUKREA_MBIMXSD_BASEBOARD + prompt "Eukrea MBIMXSD development board" + bool + help + This adds board specific devices that can be found on Eukrea's + MBIMXSD evaluation board. + +endchoice + endif diff --git a/trunk/arch/arm/mach-mx25/Makefile b/trunk/arch/arm/mach-mx25/Makefile index 10cebc5ced8c..83ab5d805104 100644 --- a/trunk/arch/arm/mach-mx25/Makefile +++ b/trunk/arch/arm/mach-mx25/Makefile @@ -1,3 +1,5 @@ obj-y := mm.o devices.o obj-$(CONFIG_ARCH_MX25) += clock.o obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25pdk.o +obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += mach-cpuimx25.o +obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o diff --git a/trunk/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c b/trunk/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c new file mode 100644 index 000000000000..e0f0dfda4d01 --- /dev/null +++ b/trunk/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c @@ -0,0 +1,260 @@ +/* + * Copyright (C) 2010 Eric Benard - eric@eukrea.com + * + * Based on pcm970-baseboard.c which is : + * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ + +#include +#include +#include +#include +#include +#include