All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chander Kashyap <chander.kashyap@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 1/2] ARMV7: Add support for Samsung ORIGEN board
Date: Wed, 3 Aug 2011 12:54:11 +0530	[thread overview]
Message-ID: <CANuQgHGbHNTDdQZ_Q1f1s7AHncKxAEKEQG05yVJg5auHgZYRhQ@mail.gmail.com> (raw)
In-Reply-To: <20110803055954.8257B177A7A9@gemini.denx.de>

On 3 August 2011 11:29, Wolfgang Denk <wd@denx.de> wrote:

> Dear Chander Kashyap,
>
> In message <
> CANuQgHFVBv-b5ecRqkrkcpPOwx2umpBR_RFPRx-c0fbvLmxNxQ at mail.gmail.com> you
> wrote:
> >
> > > > +void dram_init_banksize(void)
> > > > +{
> > > > +     gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> > > > +     gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
> > > > +     gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
> > > > +     gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
> > > > +     gd->bd->bi_dram[2].start = PHYS_SDRAM_3;
> > > > +     gd->bd->bi_dram[2].size = PHYS_SDRAM_3_SIZE;
> > > > +     gd->bd->bi_dram[3].start = PHYS_SDRAM_4;
> > > > +     gd->bd->bi_dram[3].size = PHYS_SDRAM_4_SIZE;
> > > > +}
> > >
> > > How do you detect memory issues in one of the memory banks, say, a
> > > memory error in bank 3?
> > >
> >  get_ram_size will take care for it.
>
> How so?  You are setting these to fixed, predefined values.
>
> If get_ram_size() for bank 3 returns a size of 0, you will still set
> the size to PHYS_SDRAM_3_SIZE here.
>
Ah. I got yours point. I will rectify it.

>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> 1000 pains                                              = 1 Megahertz
>



-- 
with warm regards,
Chander Kashyap

  reply	other threads:[~2011-08-03  7:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29  4:41 [U-Boot] [PATCH v4 0/2] ORIGEN Board Support Chander Kashyap
2011-07-29  4:41 ` [U-Boot] [PATCH v4 1/2] ARMV7: Add support for Samsung ORIGEN board Chander Kashyap
2011-07-31 10:00   ` Wolfgang Denk
2011-08-03  3:47     ` Chander Kashyap
2011-08-03  5:59       ` Wolfgang Denk
2011-08-03  7:24         ` Chander Kashyap [this message]
2011-08-09 10:32       ` Chander Kashyap
2011-08-10 10:18         ` Detlev Zundel
2011-08-11  4:17           ` Chander Kashyap
2011-07-29  4:41 ` [U-Boot] [PATCH v4 2/2] ORIGEN: Add MMC SPL support Chander Kashyap
2011-07-31  6:56   ` Lei Wen
2011-07-31  8:19     ` Wolfgang Denk
2011-07-31  9:47       ` Wolfgang Denk
2011-08-01  6:59     ` Chander Kashyap
2011-08-01 10:09       ` Wolfgang Denk
2011-08-01 11:52         ` Chander Kashyap
2011-07-31 10:03   ` Wolfgang Denk
2011-08-03  3:49     ` Chander Kashyap

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=CANuQgHGbHNTDdQZ_Q1f1s7AHncKxAEKEQG05yVJg5auHgZYRhQ@mail.gmail.com \
    --to=chander.kashyap@linaro.org \
    --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.