public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rix <tom@bumblecow.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] [ARM] at91: Add support for taskit	AT91SAM9G20 boards
Date: Sat, 17 Apr 2010 16:06:05 -0500	[thread overview]
Message-ID: <4BCA22BD.8040502@bumblecow.com> (raw)
In-Reply-To: <4BC486FF.20604@taskit.de>

Achim Ehrlich wrote:
> Tom wrote:
>> Achim Ehrlich wrote:
>>> This adds support for the AT91SAM9G20 boards by taskit GmbH.
>>> Both boards, Stamp9G20 and PortuxG20, are integrated in one file.
>>> PortuxG20 is basically a SBC built around Stamp9G20.
>>>
>>> Signed-off-by: Achim Ehrlich <aehrlich@taskit.de>
>>> ---
>>>  MAINTAINERS                        |    5 +
>>>  MAKEALL                            |    1 +
>>>  Makefile                           |    4 +
>>>  board/taskit/stamp9G20/Makefile    |   50 +++++++++
>>>  board/taskit/stamp9G20/config.mk   |    1 +
>>>  board/taskit/stamp9G20/stamp9G20.c |  203 
>>> ++++++++++++++++++++++++++++++++++++
>>>  include/configs/stamp9G20.h        |  180 
>>> ++++++++++++++++++++++++++++++++
>>>  7 files changed, 444 insertions(+), 0 deletions(-)
>>>  create mode 100644 board/taskit/stamp9G20/Makefile
>>>  create mode 100644 board/taskit/stamp9G20/config.mk
>>>  create mode 100644 board/taskit/stamp9G20/stamp9G20.c
>>>  create mode 100644 include/configs/stamp9G20.h
>>>
>> Are more taskit based boards expected?
>> If not taskit/stamp9G20 could be reduced to just taskit
>>
> 
> Yes, there are more taskit boards expected.
>  

Ok

>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>> index 7f40ebd..c4259a0 100644
<snip>

>>> +    writel(AT91_SMC_MODE_RM_NRD | AT91_SMC_MODE_WM_NWE |
>>> +        AT91_SMC_MODE_EXNW_DISABLE |
>>> +#ifdef CONFIG_SYS_NAND_DBW_16
>>> +               AT91_SMC_MODE_DBW_16 |
>>> +#else /* CONFIG_SYS_NAND_DBW_8 */
>>> +               AT91_SMC_MODE_DBW_8 |
>>> +#endif
>> CONFIG_SYS_NAND_DBW_16 is unused.
>> The if-def should be removed
>>
Expecting dead code to be removed

>>> +               AT91_SMC_MODE_TDF_CYCLE(2),
>>> +        &smc->cs[3].mode);
>>> +

<snip>

>>> +    /* adress of boot parameters */
>>> +    gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
>>> +
>>> +    at91_set_pio_output(AT91_PIO_PORTC, 9, 1);
>>> +    at91_set_pio_output(AT91_PIO_PORTC, 5, 1);
>> Change immediates to logical #defines
> 
> Sorry, I don't get that clearly. In the moment I would take that to mean
> that I should do something like
> #define CONFIG_BOOT_PARAMS CONFIG_SYS_SDRAM_BASE + 0x100
> in the appropriate place
> and use here:
> gd->bd->bi_boot_params = CONFIG_BOOT_PARAMS
> or am I wrong?

I was referring to 9 and 5 arguments to at91_set_pio_output
You could also change the bi_boot_params but that isn't as
important.

> 
>>> +
>>> +    at91_serial_hw_init();

<snip>

>>> +
>>> +#ifdef CONFIG_USE_IRQ
>>> +#error CONFIG_USE_IRQ not supported
>>> +#endif
>>> +
>>> +#endif
> 
> Thanks for your attention
> 
> Kind regards
> 
> Achim
> 
Tom

  reply	other threads:[~2010-04-17 21:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 11:30 [U-Boot] [PATCH v2] [ARM] at91: Add support for taskit AT91SAM9G20 boards Achim Ehrlich
2010-03-28 21:05 ` Tom
2010-04-13 15:00   ` Achim Ehrlich
2010-04-17 21:06     ` Tom Rix [this message]
2010-04-20 15:12       ` [U-Boot] [PATCH v3] " Achim Ehrlich
2010-05-20  7:12         ` Achim Ehrlich
2010-08-20 12:05           ` Reinhard Meyer

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=4BCA22BD.8040502@bumblecow.com \
    --to=tom@bumblecow.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