Skip to contentSkip to conversation

add mx3 cupid bsp cleanup

PATCH New Carsten Behling 3 participants 3 messages Feb 17, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 add mx3 cupid bsp cleanup

Hi,

this is the cleaned up patch for the CUPID BSP.

Carsten

---
 arch/arm/mach-mx3/Kconfig                        |    7 +
 arch/arm/mach-mx3/Makefile                       |    1 +
 arch/arm/mach-mx3/mach-guf_cupid.c               |  184 ++++++++++++++++++++++
 arch/arm/plat-mxc/include/mach/board-guf_cupid.h |   24 +++
 4 files changed, 216 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx3/mach-guf_cupid.c
 create mode 100644 arch/arm/plat-mxc/include/mach/board-guf_cupid.h
arch/arm/mach-mx3/Kconfig +7 -0
index 3872af1..a7e40d7 100644
@@ -114,4 +114,11 @@ config MACH_KZM_ARM11_01
          Include support for KZM-ARM11-01. This includes specific
          configurations for the board and its peripherals.
 
+config MACH_GUF_CUPID
+       bool "Support Garz & Fricke Cupid platform"
+       select ARCH_MX35
+       help
+         Include support for Cupid platform. This includes specific
+         configurations for the board and its peripherals.
+
 endif
arch/arm/mach-mx3/Makefile +1 -0
index 5d650fd..7f9ca81 100644
@@ -24,3 +24,4 @@ obj-$(CONFIG_MACH_PCM043)     += mach-pcm043.o
 obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
 obj-$(CONFIG_MACH_MX35_3DS)    += mach-mx35pdk.o
 obj-$(CONFIG_MACH_KZM_ARM11_01)        += mach-kzm_arm11_01.o
+obj-$(CONFIG_MACH_GUF_CUPID)   += mach-guf_cupid.o
arch/arm/mach-mx3/mach-guf_cupid.c new file +184 -0

184 lines not on this page · raw message

arch/arm/plat-mxc/include/mach/board-guf_cupid.h new file +24 -0
new file mode 100644
index 0000000..e10733b
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010 Garz & Fricke GmbH All Rights Reserved.
+ *
+ * Author: Carsten Behling <[email protected]>
+ *
+ * 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
+ */
+
+#ifndef __MACH_BOARD_GUF_CUPID_H__
+#define __MACH_BOARD_GUF_CUPID_H__
+
+#endif /* __MACH_BOARD_GUF_CUPID_H__ */

--
1.6.0.2

---
 arch/arm/mach-mx3/Kconfig                        |    7 ++++++
 arch/arm/mach-mx3/Makefile                       |    1 +
 arch/arm/plat-mxc/include/mach/board-guf_cupid.h |   24 ++++++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-mxc/include/mach/board-guf_cupid.h
arch/arm/mach-mx3/Kconfig +7 -0
index 3872af1..a7e40d7 100644
@@ -114,4 +114,11 @@ config MACH_KZM_ARM11_01
          Include support for KZM-ARM11-01. This includes specific
          configurations for the board and its peripherals.
 
+config MACH_GUF_CUPID
+       bool "Support Garz & Fricke Cupid platform"
+       select ARCH_MX35
+       help
+         Include support for Cupid platform. This includes specific
+         configurations for the board and its peripherals.
+
 endif
arch/arm/mach-mx3/Makefile +1 -0
index 5d650fd..7f9ca81 100644
@@ -24,3 +24,4 @@ obj-$(CONFIG_MACH_PCM043)     += mach-pcm043.o
 obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
 obj-$(CONFIG_MACH_MX35_3DS)    += mach-mx35pdk.o
 obj-$(CONFIG_MACH_KZM_ARM11_01)        += mach-kzm_arm11_01.o
+obj-$(CONFIG_MACH_GUF_CUPID)   += mach-guf_cupid.o
arch/arm/plat-mxc/include/mach/board-guf_cupid.h new file +24 -0
new file mode 100644
index 0000000..e10733b
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010 Garz & Fricke GmbH All Rights Reserved.
+ *
+ * Author: Carsten Behling <[email protected]>
+ *
+ * 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
+ */
+
+#ifndef __MACH_BOARD_GUF_CUPID_H__
+#define __MACH_BOARD_GUF_CUPID_H__
+
+#endif /* __MACH_BOARD_GUF_CUPID_H__ */

--
1.6.0.2

#1 lore raw

PATCH 1/2 add mx3 cupid bsp cleanup

On Wed, Feb 17, 2010 at 05:54:53PM +0100, Carsten Behling wrote:

[...]

Quoted 20 lines
arch/arm/plat-mxc/include/mach/board-guf_cupid.h new file +14 -0
new file mode 100644
index 0000000..e10733b
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010 Garz & Fricke GmbH All Rights Reserved.
+ *
+ * Author: Carsten Behling <[email protected]>
+ *
+ * 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.

arch/arm/plat-mxc/include/mach/board-guf_cupid.h line 24

Quoted 10 lines
arch/arm/plat-mxc/include/mach/board-guf_cupid.h new file +10 -0
+ *
+ * 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
+ */
+
+#ifndef __MACH_BOARD_GUF_CUPID_H__
+#define __MACH_BOARD_GUF_CUPID_H__
+
+#endif /* __MACH_BOARD_GUF_CUPID_H__ */

Unless you plan to fill that file with live at some later point, you should remove it.

Quoted 7 lines
---
 arch/arm/mach-mx3/Kconfig                        |    7 ++++++
 arch/arm/mach-mx3/Makefile                       |    1 +
 arch/arm/plat-mxc/include/mach/board-guf_cupid.h |   24 ++++++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-mxc/include/mach/board-guf_cupid.h

And what's that second patch about?

Daniel

Quoted 59 lines
arch/arm/mach-mx3/Kconfig +7 -0
index 3872af1..a7e40d7 100644
@@ -114,4 +114,11 @@ config MACH_KZM_ARM11_01
          Include support for KZM-ARM11-01. This includes specific
          configurations for the board and its peripherals.
 
+config MACH_GUF_CUPID
+       bool "Support Garz & Fricke Cupid platform"
+       select ARCH_MX35
+       help
+         Include support for Cupid platform. This includes specific
+         configurations for the board and its peripherals.
+
 endif
arch/arm/mach-mx3/Makefile +1 -0
index 5d650fd..7f9ca81 100644
@@ -24,3 +24,4 @@ obj-$(CONFIG_MACH_PCM043)     += mach-pcm043.o
 obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
 obj-$(CONFIG_MACH_MX35_3DS)    += mach-mx35pdk.o
 obj-$(CONFIG_MACH_KZM_ARM11_01)        += mach-kzm_arm11_01.o
+obj-$(CONFIG_MACH_GUF_CUPID)   += mach-guf_cupid.o
arch/arm/plat-mxc/include/mach/board-guf_cupid.h new file +24 -1
new file mode 100644
index 0000000..e10733b
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010 Garz & Fricke GmbH All Rights Reserved.
+ *
+ * Author: Carsten Behling <[email protected]>
+ *
+ * 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
+ */
+
+#ifndef __MACH_BOARD_GUF_CUPID_H__
+#define __MACH_BOARD_GUF_CUPID_H__
+
+#endif /* __MACH_BOARD_GUF_CUPID_H__ */
--

1.6.0.2

#2 lore raw

PATCH 1/2 add mx3 cupid bsp cleanup

In reply to Carsten Behling

Hello,

I wouldn't split the patch.

Quoted 5 lines · Carsten Behling

Hi,

this is the cleaned up patch for the CUPID BSP.

Carsten

This isn't a message suitable to go into git. You can write such things after the triple-dash below you S-o-b.

Also please remove "cleanup" from the Subject.

Quoted 3 lines

---

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |