From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 8 Mar 2017 14:01:12 -0700 Subject: [U-Boot] [PATCH 10/17] sunxi: SPL: store RAM size in gd In-Reply-To: <1488335129-12363-11-git-send-email-andre.przywara@arm.com> References: <1488335129-12363-1-git-send-email-andre.przywara@arm.com> <1488335129-12363-11-git-send-email-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28 February 2017 at 19:25, Andre Przywara 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 > --- > board/sunxi/board.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass