From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ppc4xx: [PATCH] ML507 Board Support
Date: Tue, 29 Jul 2008 16:59:44 +0200 [thread overview]
Message-ID: <200807291659.44619.sr@denx.de> (raw)
In-Reply-To: <20080729142929.6D91C248B9@gemini.denx.de>
Hi Wolfgang,
On Tuesday 29 July 2008, Wolfgang Denk wrote:
> In message <200807171039.38227.sr@denx.de> you wrote:
> > > > #define CFG_MBYTES_SDRAM 256
> > >
> > > No. All boards, especially all PowerPC boards, should use dynamic
> > > memory size detection.
> >
> > You are probably referring to calling get_ram_size() instead of just
> > returning the configured fixed value. But what do we gain here.
> > get_ram_size() also needs the ram-size as parameter. Not sure if this is
> > an improvement on such fixed systems.
>
> It just needs a maximum possible size.
OK, this would be the 256 MB from above again.
> One major advantage is for example that get_ram_size() verifies that
> RAM is actually working, and of expected size. It is a very efficient
> test to make sure your hardware is actually working.
But what exactly should happen if such a board with only one possible memory
size configuration detects ram_size != configured ram_size?
OK, this small check is an improvement over no check at all. Is it acceptable
that I add this get_ram_size() with an additional patch? This would safe me
from resetting my "next" branch or reverting patches.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-07-29 14:59 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 19:47 [U-Boot-Users] ppc4xx [Resubmit] [PATCH] CPU PPC440x5 on Virtex5 FX (new version) Ricardo Ribalda Delgado
2008-07-14 19:47 ` [U-Boot-Users] ppc4xx: [PATCH] [Resubmit] ML507 Board Support Ricardo Ribalda Delgado
2008-07-16 1:17 ` [U-Boot-Users] ppc4xx: [PATCH] " Ricardo Ribalda Delgado
2008-07-17 6:31 ` Stefan Roese
2008-07-17 8:25 ` Wolfgang Denk
2008-07-17 8:39 ` Stefan Roese
2008-07-29 14:29 ` Wolfgang Denk
2008-07-29 14:59 ` Stefan Roese [this message]
2008-07-29 15:16 ` [U-Boot-Users] [PATCH] ppc4xx: ml507: Use of get_ram_size in board ml507 Ricardo Ribalda Delgado
2008-07-29 21:40 ` [U-Boot-Users] unassigned-patches/16: " u-boot at bugs.denx.de
2008-07-30 9:37 ` [U-Boot-Users] " Stefan Roese
2008-07-29 15:16 ` [U-Boot-Users] ppc4xx: [PATCH] ML507 Board Support Ricardo Ribalda Delgado
2008-07-17 7:21 ` Michal Simek
2008-07-17 10:30 ` Ricardo Ribalda Delgado
2008-07-17 10:47 ` [U-Boot-Users] ppc4xx: [PATCH] ML507 Board Support (Resubmit) Ricardo Ribalda Delgado
2008-07-18 10:34 ` Stefan Roese
2008-07-29 14:30 ` Wolfgang Denk
2008-07-15 20:47 ` [U-Boot-Users] ppc4xx [Resubmit] [PATCH] CPU PPC440x5 on Virtex5 FX (new version) Ricardo Ribalda Delgado
2008-07-16 1:14 ` [U-Boot-Users] ppc4xx: " Ricardo Ribalda Delgado
2008-07-16 15:14 ` Jon Loeliger
2008-07-16 15:28 ` [U-Boot-Users] ppc4xx: [PATCH] CPU PPC440x5 on Virtex5 FX (newversion) Ricardo Ribalda Delgado
2008-07-17 6:24 ` [U-Boot-Users] ppc4xx: [PATCH] CPU PPC440x5 on Virtex5 FX (new version) Stefan Roese
2008-07-17 9:22 ` Ricardo Ribalda Delgado
2008-07-17 9:44 ` [U-Boot-Users] ppc4xx: [PATCH] CPU PPC440x5 on Virtex5 FX (resubmit) Ricardo Ribalda Delgado
2008-07-18 10:33 ` Stefan Roese
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=200807291659.44619.sr@denx.de \
--to=sr@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.