From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 25 Mar 2017 20:42:34 -0600 Subject: [U-Boot] [PATCH 2/8] rockchip: rk3188: Decode the actual amount of ram In-Reply-To: References: <20170320114036.21475-1-heiko@sntech.de> <20170320114036.21475-3-heiko@sntech.de> 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 23 March 2017 at 21:27, Simon Glass wrote: > On 20 March 2017 at 05:40, Heiko Stuebner wrote: >> There was still a static ram value set in the rk3188-board from the >> time where we didn't have actual sdram init code. >> Now the sdram init leaves the ram information in SYS_REG2 and we can >> decode it similarly to the rk3288. >> >> Right now we have two duplicates of that code, which is still ok and >> doesn't really count as common code yet, but if we get a third copy >> at some point from a newer soc, we should think about moving that to >> a more general position. >> >> Signed-off-by: Heiko Stuebner >> --- >> arch/arm/mach-rockchip/rk3188-board.c | 18 ++++++++++++++++-- >> 1 file changed, 16 insertions(+), 2 deletions(-) > > Acked-by: Simon Glass Applied to u-boot-rockchip, thanks!