[U-Boot] [PATCH 10/17] sunxi: SPL: store RAM size in gd

Simon Glass sjg at chromium.org
Wed Mar 8 21:01:12 UTC 2017


On 28 February 2017 at 19:25, Andre Przywara <andre.przywara at arm.com> wrote:
> 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 at arm.com>
> ---
>  board/sunxi/board.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list