public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH-ARM 3/3] Add Support for the SBC2440-II Board
Date: Sun, 01 Nov 2009 17:07:31 -0600	[thread overview]
Message-ID: <4AEE14B3.9030302@windriver.com> (raw)
In-Reply-To: <4AEDDBFB.70703@fearnside-systems.co.uk>

kevin.morfitt at fearnside-systems.co.uk wrote:
> This patch adds support for the Embest SBC2440-II Board.
> 
> Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
> any s3c2400 or s3c2410 boards but need this patch applying before I can submit
> patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no

> new warnings or errors were found.

Please change this commit to describe the new board in
general terms.  Add a link to the product if it is long lived.

The testing results are more appropriate for the intro patch.
0 of n that git send-email creates.

> 
> Signed-off-by: Kevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
> ---
>  MAINTAINERS                            |    4 +
>  MAKEALL                                |    1 +
>  Makefile                               |    3 +
>  board/embest/sbc2440ii/Makefile        |   55 +++++++
>  board/embest/sbc2440ii/config.mk       |   25 +++
>  board/embest/sbc2440ii/lowlevel_init.S |  219 +++++++++++++++++++++++++++
>  board/embest/sbc2440ii/sbc2440ii.c     |  122 +++++++++++++++
>  cpu/arm920t/s3c24x0/timer.c            |    1 +
>  include/configs/sbc2440ii.h            |  254 ++++++++++++++++++++++++++++++++
>  9 files changed, 684 insertions(+), 0 deletions(-)
>  create mode 100644 board/embest/sbc2440ii/Makefile
>  create mode 100644 board/embest/sbc2440ii/config.mk
>  create mode 100644 board/embest/sbc2440ii/lowlevel_init.S
>  create mode 100644 board/embest/sbc2440ii/sbc2440ii.c
>  create mode 100644 include/configs/sbc2440ii.h
> 
<snip>

> diff --git a/MAINTAINERS b/MAINTAINERS
> index d70a9d2..65f8dfe 100644
> --- a/MAINTAINERS
> new file mode 100644
> index 0000000..95f49f8
> --- /dev/null
> +++ b/board/embest/sbc2440ii/lowlevel_init.S
> @@ -0,0 +1,219 @@
> +/*
> + * Memory Setup stuff - taken from blob memsetup.S
> + *
> + * Copyright (C) 1999 2000 2001 Erik Mouw (J.A.K.Mouw at its.tudelft.nl) and
> + *                     Jan-Derk Bakker (J.D.Bakker at its.tudelft.nl)
> + *
> + * Modified for the Samsung SMDK2410 by
> + * (C) Copyright 2002
> + * David Mueller, ELSOFT AG, <d.mueller@elsoft.ch>
> + *
> + * Modified for the friendly-arm SBC-2410X by
> + * (C) Copyright 2005
> + * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
> + *
> + * Modified for the Embest SBC2440-II by
> + * (C) Copyright 2009
> + * Kevin Morfitt, Fearnside Systems Ltd, <kevin.morfitt@fearnside-systems.co.uk>
> + *
> + * 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 <config.h>
> +#include <version.h>
> +
> +/*
> + * Taken from linux/arch/arm/boot/compressed/head-s3c2410.S
> + *
> + * Copyright (C) 2002 Samsung Electronics SW.LEE  <hitchcar@sec.samsung.com>
> + */

This copyright should go with the others

> +
> +#define BWSCON		0x48000000
> +
> +#define DW8		(0x0)
> +#define DW16		(0x1)
> +#define DW32		(0x2)
> +#define WAIT		(0x1 << 2)
> +#define UBLB		(0x1 << 3)
> +
<snip>
> diff --git a/board/embest/sbc2440ii/sbc2440ii.c b/board/embest/sbc2440ii/sbc2440ii.c
> new file mode 100644
> index 0000000..7c793e9
> --- /dev/null
> +++ b/board/embest/sbc2440ii/sbc2440ii.c
> @@ -0,0 +1,122 @@
> +/*
> + * (C) Copyright 2002
> + * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
> + * Marius Groeger <mgroeger@sysgo.de>
> + *
> + * (C) Copyright 2002
> + * David Mueller, ELSOFT AG, <d.mueller@elsoft.ch>
> + *
> + * (C) Copyright 2005
> + * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
> + *
> + * Modified for the Embest SBC2440-II by
> + * (C) Copyright 2009
> + * Kevin Morfitt, Fearnside Systems Ltd, <kevin.morfitt@fearnside-systems.co.uk>
> + *
> + * 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 <s3c2440.h>
> +#include <asm/io.h>
> +#include <netdev.h>
> +
> +DECLARE_GLOBAL_DATA_PTR;
> +
> +/*
> + * Miscellaneous platform dependent initialisations

spelling, initializations

> + */
> +
> +static inline void pll_settle_delay(unsigned long loops)
> +{
> +	__asm__ volatile ("1:\n"


Only minor changes.
Tom

      reply	other threads:[~2009-11-01 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-01 19:05 [U-Boot] [PATCH-ARM 3/3] Add Support for the SBC2440-II Board kevin.morfitt at fearnside-systems.co.uk
2009-11-01 23:07 ` Tom [this message]

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=4AEE14B3.9030302@windriver.com \
    --to=tom.rix@windriver.com \
    --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