t132: Add shared romstage

Hardware / Coreboot - Aaron Durbin [chromium.org] - 4 March 2015 11:24 UTC

There's no reason to duplicate code in the mainboards. Therefore, drive the flow of romstage boot in the SoC. This allows for easier scaling with multiple devices.

BUG=None BRANCH=None TEST=Built and booted to same place as before.

Original-Change-Id: I0d4df84034b19353daad0da1f722b820596c4f55

1ac4e59 t132: Add shared romstage
src/mainboard/google/rush/Makefile.inc | 3 +-
src/mainboard/google/rush/romstage.c | 45 --------------------
src/mainboard/google/rush/sdram_configs.c | 3 +-
src/mainboard/google/rush/sdram_configs.h | 28 ------------
src/soc/nvidia/tegra132/Makefile.inc | 1 +
.../nvidia/tegra132/include/soc/sdram_configs.h | 28 ++++++++++++
src/soc/nvidia/tegra132/romstage.c | 45 ++++++++++++++++++++
7 files changed, 76 insertions(+), 77 deletions(-)

Upstream: review.coreboot.org


  • Share