]> git.sur5r.net Git - u-boot/commit
sunxi: SPL: store RAM size in gd
authorAndre Przywara <andre.przywara@arm.com>
Wed, 26 Apr 2017 00:32:43 +0000 (01:32 +0100)
committerJagan Teki <jagan@openedev.com>
Wed, 17 May 2017 17:51:21 +0000 (23:21 +0530)
commit414eb6fd86762d1689ec906e3c42c1279031efec
tree5e1fd3961c4cc0cae6ce9f9e1f061eb03de04da3
parent54522c92917453be4b0395effb8516ec8a432f83
sunxi: SPL: store RAM size in gd

The sunxi SPL was holding the detected RAM size in some local variable
only, so it wasn't accessible for other functions.
Store the value in gd->ram_size instead, so it can be used later on.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
board/sunxi/board.c