ryu: Add support for full LPDDR3 SDRAM BCT init via BootROM
Once LPDDR3 init is supported in the ryu romstage, this can be reverted. Note that this 528MHz BCT has been pre-qualed by NVIDIA AE's, but will be updated as more tuning is done. BUG=none BRANCH=none TEST=Builds, BCT is in binary, but I have no HW here to test on Original-Change-Id: I315a9a5d56290bb5f51863b15053d2171db7b1e4 Original-Signed-off-by: Tom Warren <twarren@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/208384 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 660e40cb473d47ce763e79d6061367bf381a1c48) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I29ad31fc83f45ca8f92809a7dc252cf984c8c6fe Reviewed-on: http://review.coreboot.org/8643 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
01dde90eb9
commit
31818c98af
4 changed files with 1402 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
##
|
||||
## This file is part of the coreboot project.
|
||||
##
|
||||
## Copyright 2013 Google Inc.
|
||||
## Copyright 2014 Google Inc.
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,6 +21,8 @@ bct-cfg-$(CONFIG_RUSH_RYU_BCT_CFG_EMMC) += emmc.cfg
|
|||
bct-cfg-$(CONFIG_RUSH_RYU_BCT_CFG_SPI) += spi.cfg
|
||||
bct-cfg-y += odmdata.cfg
|
||||
bct-cfg-y += jtag.cfg
|
||||
#NOTE: When full LPDDR3 SDRAM config is done in bootblock, remove this
|
||||
bct-cfg-$(CONFIG_BOOTROM_SDRAM_INIT) += sdram-ryu-4GB-528-Micron-full.cfg
|
||||
|
||||
# Note when SDRAM config (sdram-*.cfg) files are changed, we have to regenerate
|
||||
# the include files (sdram-*.inc) by running "./cfg2inc.sh sdram-*.cfg".
|
||||
|
|
1388
src/mainboard/google/rush_ryu/bct/sdram-ryu-4GB-528-Micron-full.cfg
Normal file
1388
src/mainboard/google/rush_ryu/bct/sdram-ryu-4GB-528-Micron-full.cfg
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue