u-boot-brain/arch
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
..
arc arc: make global_data.h usable in assembly files 2016-07-04 11:43:41 +03:00
arm rockchip: sdram: Fix register layout for Linux 2016-07-25 20:46:46 -06:00
avr32 avr32: Drop unused code in u-boot.h 2016-05-27 15:39:52 -04:00
blackfin configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
m68k m68k: Drop unused code in u-boot.h 2016-05-27 15:39:53 -04:00
microblaze Remove unneeded remnants of bcopy(). 2016-06-06 13:39:18 -04:00
mips clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
nds32 arm, nds32, sh: remove useless ioremap()/iounmap() defines 2016-07-14 18:22:25 -04:00
nios2 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
openrisc openrisc: Drop the arch-specific board init 2016-05-27 15:39:50 -04:00
powerpc powerpc/mpc85xx: T104x: Add nand secure boot target 2016-07-21 11:09:34 -07:00
sandbox Merge git://git.denx.de/u-boot-dm 2016-07-15 08:06:22 -04:00
sh arm, nds32, sh: remove useless ioremap()/iounmap() defines 2016-07-14 18:22:25 -04:00
sparc Fix spelling of "transferred". 2016-03-22 12:16:16 -04:00
x86 Merge branch 'master' of git://git.denx.de/u-boot-x86 2016-07-12 08:15:17 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig linux/io.h: add generic ioremap()/iounmap() defines 2016-07-14 18:22:26 -04:00