Skip to contentSkip to conversation

Add MIMC200 board

PATCH New Mark Jackson 3 participants 5 messages Jul 30, 2008 – Aug 20, 2008 2 messages not in the archive Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 Add MIMC200 board

The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM.

---
 CREDITS                       |    4 +
 MAINTAINERS                   |    4 +
 MAKEALL                       |    1 +
 Makefile                      |    3 +
 board/mimc/mimc200/Makefile   |   40 ++++++++
 board/mimc/mimc200/config.mk  |    3 +
 board/mimc/mimc200/mimc200.c  |  209 +++++++++++++++++++++++++++++++++++++++++
 board/mimc/mimc200/u-boot.lds |   73 ++++++++++++++
 include/configs/mimc200.h     |  177 ++++++++++++++++++++++++++++++++++
 10 files changed, 519 insertions(+), 0 deletions(-)
CREDITS +4 -0
index 2b0dab7..5010c78 100644
@@ -217,6 +217,10 @@ H: Rich Ireland
 E: r.ireland at computer.org
 D: FPGA device configuration driver
 
+H: Mark Jackson
+E: mpfj at mimc.co.uk
+D: Port to MIMC200 board
+
 N: Gary Jennejohn
 E: garyj at jennejohn.org, gj at denx.de
 D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB"
MAINTAINERS +4 -0
index cbe5c47..d4f6639 100644
@@ -709,6 +709,10 @@ Haavard Skinnemoen <[email protected]>
 	ATSTK1006	AT32AP7000
 	ATNGW100	AT32AP7000
 
+Mark Jackson <[email protected]>
+
+	MIMC200		AT32AP7000
+
 #########################################################################
 # SuperH Systems:							#
 #									#
MAKEALL +1 -0
index c1a9c60..cfd376c 100755
@@ -715,6 +715,7 @@ LIST_avr32="		\
 	atstk1004	\
 	atstk1006	\
 	atngw100	\
+	mimc200		\
 "
 
 #########################################################################
Makefile +3 -0
index 369bbd7..d434ea3 100644
@@ -2914,6 +2914,9 @@ atstk1004_config	:	unconfig
 atstk1006_config	:	unconfig
 	@$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
 
+mimc200_config		:	unconfig
+	@$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x
+
 #========================================================================
 # SH3 (SuperH)
 #========================================================================
board/mimc/mimc200/Makefile new file +40 -0
new file mode 100644
index 0000000..9f3849f
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2005-2006 Atmel Corporation
+#
+# See file CREDITS for list of people who contributed to this project.
+#
+# 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., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+
+include $(TOPDIR)/config.mk
+
+LIB	:= $(obj)lib$(BOARD).a
+
+COBJS	:= $(BOARD).o
+
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
board/mimc/mimc200/config.mk new file +3 -0
new file mode 100644
index 0000000..9a794e5
@@ -0,0 +1,3 @@
+TEXT_BASE		= 0x00000000
+PLATFORM_RELFLAGS	+= -ffunction-sections -fdata-sections
+PLATFORM_LDFLAGS	+= --gc-sections
board/mimc/mimc200/mimc200.c new file +209 -0

209 lines not on this page · raw message

board/mimc/mimc200/u-boot.lds new file +73 -0

73 lines not on this page · raw message

include/configs/mimc200.h new file +177 -0

177 lines not on this page · raw message

#1 lore raw

PATCH v4 1/1 Add MIMC200 board

Quoted 1 line · Mark Jackson

The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM.

Looks good to me. If you add a signed-off-by line as per

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/SubmittingPatches

I'll apply this patch and push it upstream during the next merge window. No need to resend the whole thing -- just send me the signed-off-by line if you're okay with what it means, and I'll add it to the patch.

board/mimc/mimc200/mimc200.c line 86

Quoted 5 lines
board/mimc/mimc200/mimc200.c new file +5 -0
+	/* are we suppressing the console ? */
+	if (gpio_get_value(GPIO_PIN_PE21) == 1)
+	{
+		gd->flags |= GD_FLG_SILENT;
+	}

I'll remove these braces too.

Thanks,

Haavard

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

PATCH v4 1/1 Add MIMC200 board

In reply to Mark Jackson

Dear Haavard,

Quoted 12 lines · in message <[email protected]> you wrote:

The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM.

---
 CREDITS                       |    4 +
 MAINTAINERS                   |    4 +
 MAKEALL                       |    1 +
 Makefile                      |    3 +
 board/mimc/mimc200/Makefile   |   40 ++++++++
 board/mimc/mimc200/config.mk  |    3 +
 board/mimc/mimc200/mimc200.c  |  209 +++++++++++++++++++++++++++++++++++++++++
 board/mimc/mimc200/u-boot.lds |   73 ++++++++++++++
 include/configs/mimc200.h     |  177 ++++++++++++++++++++++++++++++++++
 10 files changed, 519 insertions(+), 0 deletions(-)

I guess this is sitting on your queue, and I will see a pull request soon?

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Es sind ?berhaupt nur die Dummk?pfe, die sich den Befehlen der  M?ch-
tigen  widersetzen.  Um  sie  zu ruinieren ist es genug, ihre Befehle
treu zu erf?llen.                  - Peter Hacks: "Die sch?ne Helena"
#6 lore raw

PATCH v4 1/1 Add MIMC200 board

Quoted 16 lines · Wolfgang Denk

Dear Haavard,

Quoted 12 lines · in message <[email protected]> you wrote:

The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM.

---
 CREDITS                       |    4 +
 MAINTAINERS                   |    4 +
 MAKEALL                       |    1 +
 Makefile                      |    3 +
 board/mimc/mimc200/Makefile   |   40 ++++++++
 board/mimc/mimc200/config.mk  |    3 +
 board/mimc/mimc200/mimc200.c  |  209 +++++++++++++++++++++++++++++++++++++++++
 board/mimc/mimc200/u-boot.lds |   73 ++++++++++++++
 include/configs/mimc200.h     |  177 ++++++++++++++++++++++++++++++++++
 10 files changed, 519 insertions(+), 0 deletions(-)
Quoted 2 lines

I guess this is sitting on your queue, and I will see a pull request soon?

Still waiting for a signed-off-by. But you will see a pull request soon regardless.

Haavard