u-boot-brain/arch/arm
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
..
cpu ARM: am33xx: Always inhibit init/refresh during DDR phy init 2016-07-25 12:00:06 -04:00
dts dts: add support for Rockchip rk3399 soc 2016-07-25 20:46:45 -06:00
imx-common Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
include rockchip: Add a way to obtain the main clock device 2016-07-25 20:46:45 -06:00
lib armv8: spl: Call board_init_r from crt0_64 in SPL 2016-07-22 14:46:23 -04:00
mach-at91 arm: at91: taurus/axm: add DM and DTS support 2016-06-26 20:17:22 +02:00
mach-bcm283x rpi: remove redundant board files 2016-04-11 20:48:23 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos Merge git://git.denx.de/u-boot-fsl-qoriq 2016-07-19 16:38:57 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone keystone: k2h/e/l: Fix DMA coherency for QM PDSP 2016-07-25 12:00:05 -04:00
mach-kirkwood configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-meson armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
mach-mvebu common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rockchip rockchip: sdram: Fix register layout for Linux 2016-07-25 20:46:46 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
mach-socfpga common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-stm32 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" 2016-07-21 15:38:13 -04:00
mach-sunxi Merge git://git.denx.de/u-boot-fsl-qoriq 2016-07-19 16:38:57 -04:00
mach-tegra ARM: tegra: pick up actual memory size 2016-07-21 09:31:30 -07:00
mach-uniphier ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 2016-07-24 00:44:55 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARM: Add secure section for initialized data 2016-07-15 15:54:58 +02:00
Kconfig ARM64: rockchip: add support for rk3399 SoC based evb 2016-07-25 20:46:45 -06:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: Treat arm946es as v5te 2016-06-02 21:21:34 -04:00