public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ppc4xx: [PATCH] ML507 Board Support
Date: Thu, 17 Jul 2008 10:39:38 +0200	[thread overview]
Message-ID: <200807171039.38227.sr@denx.de> (raw)
In-Reply-To: <20080717082559.C1FDE240EE@gemini.denx.de>

On Thursday 17 July 2008, Wolfgang Denk wrote:
> In message <200807170831.57309.sr@denx.de> you wrote:
> > > +phys_size_t initdram(int board_type)
> > > +{
> > > +	return 256 * 1024 * 1024;
> > > +}
> >
> > How about at least defining this SDRAM size in the board header and using
> > it here:
> >
> > board_foo.h:
> > #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.

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
=====================================================================

  reply	other threads:[~2008-07-17  8:39 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 [this message]
2008-07-29 14:29           ` Wolfgang Denk
2008-07-29 14:59             ` Stefan Roese
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=200807171039.38227.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox