diff options
Diffstat (limited to 'src/soc/nvidia')
-rw-r--r-- | src/soc/nvidia/tegra132/Kconfig | 6 | ||||
-rw-r--r-- | src/soc/nvidia/tegra132/romstage.c | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra132/Kconfig b/src/soc/nvidia/tegra132/Kconfig index 8a5d087a7f..0ce29a03fa 100644 --- a/src/soc/nvidia/tegra132/Kconfig +++ b/src/soc/nvidia/tegra132/Kconfig @@ -99,4 +99,10 @@ config TRUSTZONE_CARVEOUT_SIZE_MB help Size of Trust Zone area in MiB to reserve in memory map. +config BOOTROM_SDRAM_INIT + bool "SoC BootROM does SDRAM init with full BCT" + default n + help + Use during Ryu LPDDR3 bringup + endif diff --git a/src/soc/nvidia/tegra132/romstage.c b/src/soc/nvidia/tegra132/romstage.c index e7e545d002..2a1bd46d07 100644 --- a/src/soc/nvidia/tegra132/romstage.c +++ b/src/soc/nvidia/tegra132/romstage.c @@ -38,9 +38,13 @@ void romstage(void) printk(BIOS_INFO, "T132: romstage here\n"); +#if CONFIG_BOOTROM_SDRAM_INIT + printk(BIOS_INFO, "T132 romstage: SDRAM init done by BootROM, RAMCODE = %d\n", + sdram_get_ram_code()); +#else sdram_init(get_sdram_config()); printk(BIOS_INFO, "T132 romstage: sdram_init done\n"); - +#endif cbmem_initialize(); ccplex_cpu_prepare(); |