public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] AT91: Added support for taskit Stamp9G20 and PortuxG20
Date: Thu, 18 Feb 2010 13:42:18 +0100	[thread overview]
Message-ID: <m2r5oibtqt.fsf@ohwell.denx.de> (raw)
In-Reply-To: <4B7C14EC.7050209@taskit.de> (Achim Ehrlich's message of "Wed, 17 Feb 2010 17:10:20 +0100")

Hi Achim,

> Signed-off-by: Achim Ehrlich <aehrlich@taskit.de>
> ---
>  Makefile                           |    9 ++
>  board/taskit/stamp9G20/Makefile    |   56 ++++++++++
>  board/taskit/stamp9G20/config.mk   |    1 +
>  board/taskit/stamp9G20/led.c       |   35 ++++++
>  board/taskit/stamp9G20/partition.c |   40 +++++++
>  board/taskit/stamp9G20/stamp9G20.c |  200 ++++++++++++++++++++++++++++++++++++
>  include/configs/stamp9G20.h        |  197 +++++++++++++++++++++++++++++++++++
>  7 files changed, 538 insertions(+), 0 deletions(-)
>  create mode 100644 board/taskit/stamp9G20/Makefile
>  create mode 100644 board/taskit/stamp9G20/config.mk
>  create mode 100644 board/taskit/stamp9G20/led.c
>  create mode 100644 board/taskit/stamp9G20/partition.c
>  create mode 100644 board/taskit/stamp9G20/stamp9G20.c
>  create mode 100644 include/configs/stamp9G20.h
>
> diff --git a/Makefile b/Makefile
> index 524b9da..ef1a7d4 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2906,6 +2906,15 @@ TNY_A9260_config	:	unconfig
>  	@echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
>  	@$(MKCONFIG) -a tny_a9260 arm arm926ejs tny_a9260 calao at91
>  
> +portuxG20_config \
> +stamp9G20_config	:	unconfig
> +	@mkdir -p $(obj)include
> +	@if [ "$(findstring portux,$@)" ] ; then \
> +		echo "#define CONFIG_PORTUXG20 1" >$(obj)include/config.h; \
> +		$(XECHO) "... PortuxG20";\
> +	fi;
> +	@$(MKCONFIG) -a stamp9G20 arm arm926ejs stamp9G20 taskit at91
> +
>  ########################################################################
>  ## ARM Integrator boards - see doc/README-integrator for more info.
>  integratorap_config	\
> diff --git a/board/taskit/stamp9G20/Makefile b/board/taskit/stamp9G20/Makefile
> new file mode 100644
> index 0000000..ef82428
> --- /dev/null
> +++ b/board/taskit/stamp9G20/Makefile
> @@ -0,0 +1,56 @@
> +#
> +# (C) Copyright 2003-2008
> +# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> +#
> +# (C) Copyright 2008
> +# Stelian Pop <stelian.pop@leadtechdesign.com>
> +# Lead Tech Design <www.leadtechdesign.com>

Well actually I am not a fan of including all these copyrights in a file
which has so little content - so I'd vote to remove them and include
your own copyright.

But if for some reason the copyrights are not removed, then please at
least add yourself in.


[...]

> diff --git a/board/taskit/stamp9G20/led.c b/board/taskit/stamp9G20/led.c
> new file mode 100644
> index 0000000..dc6ac63
> --- /dev/null
> +++ b/board/taskit/stamp9G20/led.c
> @@ -0,0 +1,35 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop@leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>

Dito.

> + *
> + * 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 <common.h>
> +#include <asm/arch/at91sam9260.h>
> +#include <asm/arch/at91_pmc.h>
> +#include <asm/arch/gpio.h>
> +#include <asm/arch/io.h>
> +
> +void coloured_LED_init(void)
> +{
> +	/* Enable clock */
> +	at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_PIOC);
> +}
> diff --git a/board/taskit/stamp9G20/partition.c b/board/taskit/stamp9G20/partition.c
> new file mode 100644
> index 0000000..2629c67
> --- /dev/null
> +++ b/board/taskit/stamp9G20/partition.c
> @@ -0,0 +1,40 @@
> +/*
> + * (C) Copyright 2008
> + * Ulf Samuelsson <ulf@atmel.com>

Dito.

> diff --git a/board/taskit/stamp9G20/stamp9G20.c b/board/taskit/stamp9G20/stamp9G20.c
> new file mode 100644
> index 0000000..28cd8b1
> --- /dev/null
> +++ b/board/taskit/stamp9G20/stamp9G20.c
> @@ -0,0 +1,200 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop@leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>
> + *
> + * Achim Ehrlich <aehrlich@taskit.de>
> + * taskit GmbH <www.taskit.de>

Ok, this time you added your name - although I would have expected a
year.

Cheers
  Detlev

-- 
Infolge sklavischer "Kategoritis"  werden die wissenschaftlichen unlogischen
und - wie wir sehen werden -  oft sinnlosen Fragen wie "Wo wohnst du?", "Was
bist du?", "Welche Religion?", "Welche Rasse?", "Welche Nationalit?t?" alle-
samt heute f?r logische Fragen gehalten.       -- Richard Buckminster Fuller
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  parent reply	other threads:[~2010-02-18 12:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-17 16:10 [U-Boot] [PATCH] AT91: Added support for taskit Stamp9G20 and PortuxG20 Achim Ehrlich
2010-02-18 12:32 ` Wolfgang Denk
2010-02-22 12:31   ` Achim Ehrlich
2010-02-22 13:06     ` Wolfgang Denk
2010-02-18 12:42 ` Detlev Zundel [this message]
2010-02-22 12:35   ` Achim Ehrlich
2010-02-22 13:04     ` Detlev Zundel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r5oibtqt.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox