]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: rpi_b: use bcm2835 mbox driver to get memory size
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 29 Jan 2013 16:37:37 +0000 (16:37 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 20 Mar 2013 14:29:29 +0000 (15:29 +0100)
commit3f397782ae6c6148f7fa12bbb62f309a4f5d897c
tree2803bad4839969cfa68a8ca75a3912d9783a5596
parent88077280c48ba4e0f3b9a305ffb748b1bba8380a
ARM: rpi_b: use bcm2835 mbox driver to get memory size

The firmware running on the bcm2835 SoC's VideoCore CPU determines how
much of the system RAM is available for use by the ARM CPU. Previously,
U-Boot assumed that only 128MB was available, since this was the
smallest value configured by any public firmware. However, we can now
query the actual value at run-time from the firmware using the mbox
property protocol.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi_b/rpi_b.c