All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lei Wen <adrian.wenl@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 2/5] ARM: Add Support for Marvell Pantheon Familiy SoCs
Date: Wed, 26 Jan 2011 10:01:12 +0800	[thread overview]
Message-ID: <AANLkTin0HQKxKiLas8H4_GHmFsdi1Mt3gPbTK0A17r2d@mail.gmail.com> (raw)
In-Reply-To: <20110125213200.2FB46B187@gemini.denx.de>

Hi Wolfgang,

On Wed, Jan 26, 2011 at 5:32 AM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Lei Wen,
>
> In message <1294632087-8025-3-git-send-email-leiwen@marvell.com> you wrote:
>> Pantheon Family processors are highly integrated SoCs
>> based on Sheeva_88SV331x-v5 PJ1 cpu core.
>> Ref:
>> http://www.marvell.com/products/processors/communications/marvell_pantheon_910_920_pb.pdf
>>
>> SoC versions Supported:
>> 1) PANTHEON920 ? ? ? ? ?(TD)
>> 2) PANTHEON910 ? ? ? ? ?(TTC)
>>
>> Signed-off-by: Lei Wen <leiwen@marvell.com>
> ...
>> +int dram_init(void)
>> +{
> ...
>> + ? ? for (; i < CONFIG_NR_DRAM_BANKS; i++) {
>> + ? ? ? ? ? ? /* If above loop terminated prematurely, we need to set
>> + ? ? ? ? ? ? ?* remaining banks' start address & size as 0. Otherwise other
>> + ? ? ? ? ? ? ?* u-boot functions and Linux kernel gets wrong values which
>> + ? ? ? ? ? ? ?* could result in crash */
>
> Incorrect multiline comment style.
>

This already fix in the v6 patch...
http://patchwork.ozlabs.org/patch/80305/

>> +/* For preventing risk of instability in reading counter value,
>> + * first set read request to register cvwr and then read same
>> + * register after it captures counter value.
>> + */
>
> Ditto. ?Please fix globally.
>
>> + ? ? writel(COUNT_RD_REQ, &panthtimers->cvwr);
>> + ? ? while (loop--);
>
> Please write:
>
> ? ? ? ?while (loop--)
> ? ? ? ? ? ? ? ?;

Fixed...
>
> But then - are you sure the compiler does not optimize this out? ?You
> probably want to use __udelay() instead.

  reply	other threads:[~2011-01-26  2:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  4:01 [U-Boot] [PATCH V2 0/5] Add Pantheon soc and dkb board support Lei Wen
2011-01-10  4:01 ` [U-Boot] [PATCH V2 1/5] mv: seperate kirkwood and armada from common setting Lei Wen
2011-01-10 14:30   ` Prafulla Wadaskar
2011-01-10  4:01 ` [U-Boot] [PATCH V2 2/5] ARM: Add Support for Marvell Pantheon Familiy SoCs Lei Wen
2011-01-10 14:33   ` Prafulla Wadaskar
2011-01-25 21:32   ` Wolfgang Denk
2011-01-26  2:01     ` Lei Wen [this message]
2011-01-26  7:50       ` Wolfgang Denk
2011-01-10  4:01 ` [U-Boot] [PATCH V2 3/5] serial: add pantheon soc support Lei Wen
2011-01-25 21:25   ` Wolfgang Denk
2011-01-26  6:49     ` Prafulla Wadaskar
2011-01-10  4:01 ` [U-Boot] [PATCH V2 4/5] mvmfp: add MFP configuration support for PANTHEON Lei Wen
2011-01-25 21:34   ` Wolfgang Denk
2011-01-26  1:51     ` Lei Wen
2011-01-26  7:39       ` Wolfgang Denk
2011-01-26  7:48         ` Lei Wen
2011-01-26  8:06           ` Wolfgang Denk
2011-01-26  8:08             ` Lei Wen
2011-01-26  7:44       ` Wolfgang Denk
2011-01-26  7:51         ` Lei Wen
2011-01-26  8:07           ` Wolfgang Denk
2011-01-26  8:09             ` Lei Wen
2011-01-10  4:01 ` [U-Boot] [PATCH V2 5/5] Pantheon: Add Board Support for Marvell dkb board Lei Wen
2011-01-10 14:34   ` Prafulla Wadaskar
2011-01-10 14:35 ` [U-Boot] [PATCH V2 0/5] Add Pantheon soc and dkb board support Prafulla Wadaskar
2011-01-10 14:51   ` Lei Wen

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=AANLkTin0HQKxKiLas8H4_GHmFsdi1Mt3gPbTK0A17r2d@mail.gmail.com \
    --to=adrian.wenl@gmail.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 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.