From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Radensky Date: Fri, 06 May 2011 09:11:54 +0300 Subject: [U-Boot] Memory size detection on P1011 In-Reply-To: <20110505194359.04271D60EB7@gemini.denx.de> References: <4DC2A352.8080505@embedded-sol.com> <1304602168.21927.16.camel@oslab-l1> <20110505182440.867B0D60EB7@gemini.denx.de> <4DC2F72F.2050009@embedded-sol.com> <20110505194359.04271D60EB7@gemini.denx.de> Message-ID: <4DC3912A.70401@embedded-sol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi York, On 05/05/2011 10:43 PM, Wolfgang Denk wrote: > Dear Felix Radensky, > > In message<4DC2F72F.2050009@embedded-sol.com> you wrote: >> The closest example of using get_ram_size() I've found is >> for MPC8548 TQM boards. But all these boards have 4-bank >> memory devices, so I'm sure my case was tested. Don't you >> think there can be a problem with reprogramming bank number >> in this particular DDR controller ? > I haven't done this myself yet on this hardware, but I would be very > surprised if you could not reprogram the controller. > > Can you please clarify this for me. If I understand you correctly, the number of banks cannot be changed after DDR controller was initialized. Is my understanding correct ? Thanks a lot. Felix.