From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 15 Jul 2016 13:14:04 -0400 Subject: [U-Boot] [PATCH v2] rockchip: sdram: Fix register layout for Linux In-Reply-To: <20160715163323.2475-1-john@metanate.com> References: <20160715152457.17574-1-john@metanate.com> <20160715163323.2475-1-john@metanate.com> Message-ID: <20160715171404.GS7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 15, 2016 at 05:33:23PM +0100, John Keeping wrote: > The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects > the bootloader to store the necessary information there. We're using > the same register to pass the same information between the SPL and > U-Boot but in a slightly different format. > > Change this to use the format expected by the Linux DMC driver so that > the system doesn't hang in Linux by misconfiguring the RAM. > > This is almost the same as commit b5788dc ("rockchip: rk3288: correct > sdram setting") which was reverted in commit b525556 ("Revert "rockchip: > rk3288: correct sdram setting"") but parenthese have been added to apply > the mask correctly when reading the "bw" setting and a couple of minor > style issues have been fixed to keep check_patch.pl happy. > > Signed-off-by: John Keeping > Thanks! Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: