From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 03 Jul 2012 20:27:49 -0600 Subject: [U-Boot] [PATCH 08/12] ARM: rpi_b: drop RAM size to 128M In-Reply-To: <930F248225E0FA44A2AE486086E959AEA56E33@SJEXCHMB06.corp.ad.broadcom.com> References: <1341367375-11467-1-git-send-email-swarren@wwwdotorg.org> <1341367375-11467-9-git-send-email-swarren@wwwdotorg.org> <930F248225E0FA44A2AE486086E959AEA56E33@SJEXCHMB06.corp.ad.broadcom.com> Message-ID: <4FF3AA25.6010102@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/03/2012 08:09 PM, Naren (Narendra) Sankar wrote: > This should not be hard-coded. > > The current board has 256MB but still allows the VC to use different RAM configuration splits. So the u-boot/Linux partition can get more than 128MB. While that's true, I believe there's currently no runtime API available to retrieve the memory split information. When such an API is available, we can remove the hard-coded limit and use the API instead. Such an API has been requested; see: https://github.com/raspberrypi/firmware/issues/47 > And it is possible to support up to 1GB of DRAM on this platform. The hard-coding is in a location specific to the Raspberry-Pi model B. So, it doesn't impose any restrictions on any other boards using the same SoC. While the BCM2835 SoC may allow more memory, the RPi B specifically only supports exactly 256MB.