From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 18 Feb 2005 08:40:48 +0100 Subject: [U-Boot-Users] memory sizing(440GX) In-Reply-To: <20050217211255.ECA52C1430@atlas.denx.de> References: <20050217211255.ECA52C1430@atlas.denx.de> Message-ID: <200502180840.48831.sr@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 Hi Renaud, On Thursday 17 February 2005 22:12, Wolfgang Denk wrote: > > I guess I need to test incrementally for the memory size. Right? > > No, the code already does that. You just have to make sure that your > memory mapping is correct (i. e. that the area [base, base+maxsize] > is mapped correectly in your memory controller). Please take a look at the file "cpu/ppc4xx/sdram.c". This will show you, how the memory-size detection is done on the ppc405 systems (with onboard sdram) using the "get_ram_size" function. The code has to be modified for the 440 ppc's, since they have a different SDRAM controller (DDR). Best regards, Stefan