coreboot rush: Add dram init code

Hardware / Coreboot - Furquan Shaikh [google.com] - 4 March 2015 11:23 UTC

Add support for initializing dram within romstage. This is an essential before we move to the armv8 core.

BUG=None BRANCH=None TEST=Compiles succesfully for rush. Tried writing to and reading value from the base of sdram and it worked fine. Also tested with primitive_memtest CL: https://chromium-review.googlesource.com/#/c/186309/5

Original-Change-Id: I67ec04c766e249c9727b0cf2ba216522c862c2f5

650d11c coreboot rush: Add dram init code
src/mainboard/google/rush/Makefile.inc | 1 +
src/mainboard/google/rush/romstage.c | 7 +
src/mainboard/google/rush/sdram_configs.c | 57 ++
src/mainboard/google/rush/sdram_configs.h | 28 +
src/soc/nvidia/tegra132/Kconfig | 4 +
src/soc/nvidia/tegra132/Makefile.inc | 2 +
src/soc/nvidia/tegra132/emc.h | 323 ++++++++++++
src/soc/nvidia/tegra132/mc.h | 131 +++++
src/soc/nvidia/tegra132/sdram.c | 647 +++++++++++++++++++++++
src/soc/nvidia/tegra132/sdram.h | 33 ++
src/soc/nvidia/tegra132/sdram_lp0.c | 629 ++++++++++++++++++++++
src/soc/nvidia/tegra132/sdram_param.h | 821 +++++++++++++++++++++++++++++
12 files changed, 2683 insertions(+)

Upstream: review.coreboot.org


  • Share