u-boot-brain/arch/arm/mach-rockchip
John Keeping c482c60a14 rockchip: sdram: Fix register layout for Linux
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 <john@metanate.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-07-25 20:46:46 -06:00
..
rk3036 board: move all the rockchip board in one folder 2016-07-25 20:44:19 -06:00
rk3288 rockchip: sdram: Fix register layout for Linux 2016-07-25 20:46:46 -06:00
rk3399 ARM64: rockchip: add support for rk3399 SoC based evb 2016-07-25 20:46:45 -06:00
board.c rockchip: Use rockchip_get_clk() to obtain the SoC clock 2016-07-25 20:46:45 -06:00
Kconfig ARM64: rockchip: add support for rk3399 SoC based evb 2016-07-25 20:46:45 -06:00
Makefile ARM64: rockchip: add support for rk3399 SoC based evb 2016-07-25 20:46:45 -06:00
rk_timer.c rockchip: add timer driver 2015-12-01 08:07:22 -07:00
rk3036-board-spl.c rockchip: Use the debug UART on rk3036 2016-01-12 10:19:09 -07:00
rk3288-board-spl.c rockchip: Use rockchip_get_clk() to obtain the SoC clock 2016-07-25 20:46:45 -06:00
save_boot_param.S rockchip: add option to change method of loading u-boot 2016-07-25 20:44:18 -06:00