coreboot/src
Julius Werner 7476b4bd0e tegra124: Save SDRAM parameters to PMC registers for LP0
This patch ports the code to save SDRAM parameters into PMC scratch
registers (for use by the BootROM on LP0 resume) from U-Boot. The
original "translation table" mechanism stays pretty much unchanged for
now, just simplified a few things and adapted it to our code flow. Gets
called unconditionally from the end of sdram_init() (which means we
won't support this for static BCT-style memory initialization).

BUG=chrome-os-partner:25062
TEST=Installed AVP LP0 handler blob that Dylan pulled out of U-Boot in
/lib/firmware/tegra12x/tegra_lp0_resume.fw. Confirmed that I can LP0
suspend/resume. Also compared PMC register dumps with a U-Boot system
and confirmed that there were no unexpected differences.

Change-Id: I9782967b43741c9ba19e24164a291dff7893ab1d
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182928
2014-02-07 04:13:53 +00:00
..
arch arm: Put assembly functions into separate sections 2014-01-29 21:33:41 +00:00
console ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
cpu chromeos: provide stub functions for !CONFIG_VBOOT_VERIFY_FIRMWARE 2014-02-04 23:05:32 +00:00
device pnp: Allow setting of misc register 0xf4 in device tree 2013-12-20 00:37:38 +00:00
drivers Haswell/falco/peppy/slippy: continue to clean up FUI. 2013-12-19 01:17:37 +00:00
ec chromeec: add function to reboot on unexpected image 2014-01-10 00:11:54 +00:00
include baytrail: snapshot power state in romstage 2014-01-09 20:15:55 +00:00
lib chromeos: provide stub functions for !CONFIG_VBOOT_VERIFY_FIRMWARE 2014-02-04 23:05:32 +00:00
mainboard nyan: Initialize SDRAM without BootROM. 2014-02-06 22:54:55 +00:00
northbridge haswell: Allow pre-graphics delay 2014-01-25 02:03:21 +00:00
soc tegra124: Save SDRAM parameters to PMC registers for LP0 2014-02-07 04:13:53 +00:00
southbridge chromeos: provide stub functions for !CONFIG_VBOOT_VERIFY_FIRMWARE 2014-02-04 23:05:32 +00:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2013-12-20 00:37:38 +00:00
vendorcode chromeos: provide stub functions for !CONFIG_VBOOT_VERIFY_FIRMWARE 2014-02-04 23:05:32 +00:00
Kconfig armv8: add support for armv8 cpu 2014-01-07 02:48:47 +00:00