All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics
Date: Wed, 11 Jan 2012 08:21:23 +0100	[thread overview]
Message-ID: <4F0D3873.5040000@denx.de> (raw)
In-Reply-To: <1326200160-21716-1-git-send-email-christian.riesch@omicron.at>

Hello Christian,

Christian Riesch wrote:
> This patch adds support for the Calimain board from
> OMICRON electronics GmbH. The board features a Texas Instruments AM1808
> SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and
> CS3.
> 
> Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
> ---
>  MAINTAINERS                       |    5 +
>  board/omicron/calimain/Makefile   |   45 +++++
>  board/omicron/calimain/calimain.c |  201 ++++++++++++++++++++
>  boards.cfg                        |    1 +
>  include/configs/calimain.h        |  364 +++++++++++++++++++++++++++++++++++++
>  5 files changed, 616 insertions(+), 0 deletions(-)
>  create mode 100644 board/omicron/calimain/Makefile
>  create mode 100644 board/omicron/calimain/calimain.c
>  create mode 100644 include/configs/calimain.h

just one comment, see below

[...]
> diff --git a/board/omicron/calimain/calimain.c b/board/omicron/calimain/calimain.c
> new file mode 100644
> index 0000000..b2f2d96
> --- /dev/null
> +++ b/board/omicron/calimain/calimain.c
> @@ -0,0 +1,201 @@
[...]
> +int board_early_init_f(void)
> +{
> +	/*
> +	 * Power on required peripherals
> +	 * ARM does not have access by default to PSC0 and PSC1
> +	 * assuming here that the DSP bootloader has set the IOPU
> +	 * such that PSC access is available to ARM
> +	 */
> +	if (da8xx_configure_lpsc_items(lpsc, ARRAY_SIZE(lpsc)))
> +		return 1;
> +
> +	return 0;
> +}

Please look at my comment to the patch from Sughosh here:

http://lists.denx.de/pipermail/u-boot/2012-January/115312.html

da8xx_configure_lpsc_items() should used in
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c

so you can remove this here ... Maybe you can have a look
at this patch too?

Rest looks good to me, thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2012-01-11  7:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 12:56 [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics Christian Riesch
2012-01-10 19:50 ` Tom Rini
2012-01-11  7:21 ` Heiko Schocher [this message]
2012-01-11  8:57   ` Christian Riesch

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=4F0D3873.5040000@denx.de \
    --to=hs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.