commit | 52f4866ae3ebd1f231b93f2eec66bd0cbb301b29 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Wed Apr 26 01:32:43 2017 +0100 |
committer | Jagan Teki <jagan@openedev.com> | Wed May 17 23:21:21 2017 +0530 |
tree | 5e1fd3961c4cc0cae6ce9f9e1f061eb03de04da3 | |
parent | cced7486b74e2fc74aa9da1df975ed21cd6ba11b [diff] |
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>