From: Wolfgang Denk Date: Thu, 27 May 2010 20:11:18 +0200 Subject: [U-Boot] [PATCH] powerpc: add support for the Freescale P1022DS reference board In-Reply-To: <4BFE823A.1080409@freescale.com> References: <1274392909-16422-1-git-send-email-timur@freescale.com> <20100520223324.50594CCF026@gemini.denx.de> <4BFC1736.5030902@freescale.com> <20100526201014.97886EAC238@gemini.denx.de> <4BFD837D.2040508@freescale.com> <20100527070235.E8812EAC238@gemini.denx.de> <4BFE823A.1080409@freescale.com> Message-ID: <20100527181118.3C9F7EAC238@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Timur Tabi, In message <4BFE823A.1080409@freescale.com> you wrote: > > >> I've looked at get_ram_size(), and I don't think I can use it. > > > > Then fix it, please. > > Let me guess, you won't accept my patch until I fix get_ram_size() first and > use it, right? Do you think this is an unreasonable request? A quick fix takes me less than it takes to write this email (see following patch). > > Do you really have > 4 GB RAM on this board? > > Actually, anything more than 2GB would cause the problem, since the maximum > value of a long is 2GB. On this particular board, there is only 2GB, but > all of our new boards are expected to support more than 4GB of RAM. All the more reasons to fix this. > > If this turns out to be a real problem, we have to fix get_ram_size to > > handle bigger memory sizes as well. I guess this will needed for more > > and more systems. > > Yes. Well, didn't you say you were looking for a list of task to imrpove U-Boot for your boards? 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 Gods don't like people not doing much work. People who aren't busy all the time might start to _think_. - Terry Pratchett, _Small Gods_