coreboot-kgpe-d16/src/soc/nvidia/tegra124
Yen Lin 5840626cec T124: perform ram_repair when CPU rail is powered on in coldboot
This patch is to perform software triggered RAM re-repair in
the cold boot path.

"RAM" actually refers to the CPU cache here (yeah, I know, but that's
how the manuals call it). This is some magic hardware thing that must be
done every time after applying power to the main CPU cores or their
cache may have random failures in some very rare cases.

BUG=chrome-os-partner:30430
BRANCH=nyan
TEST=run cold reboot test on nyan.

Original-Signed-off-by: Yen Lin <yelin@nvidia.com>
Original-Change-Id: I87869431e80e7bc66948a7f67f35e5b907993765
Original-Reviewed-on: https://chromium-review.googlesource.com/207362
Original-Tested-by: Yen Lin <yelin@nvidia.com>
Original-Reviewed-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Commit-Queue: Yen Lin <yelin@nvidia.com>
(cherry picked from commit d999f5ecc31d90c8dce1dd91533bc34ffd3c03f2)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Iaee1d7f9fa8856f26d7ead70eaeeff9d80dbb181
Reviewed-on: http://review.coreboot.org/8415
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-02-17 01:16:47 +01:00
..
include/soc tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME 2015-02-17 01:16:34 +01:00
lp0 tegra124: fix and fine tune the warm boot code 2015-01-09 16:50:23 +01:00
bootblock.c T124: perform ram_repair when CPU rail is powered on in coldboot 2015-02-17 01:16:47 +01:00
bootblock_asm.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
cbfs.c tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
cbmem.c tegra124: nyan: Keep in memory structures below 4GB. 2014-11-12 02:25:31 +01:00
chip.h tegra124: modify panel init sequence 2014-12-17 20:49:02 +01:00
clk_rst.h tegra124: clock: Enforce PLL constraints for VCO and CF 2014-12-16 23:29:16 +01:00
clock.c tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME 2015-02-17 01:16:34 +01:00
display.c tegra124: configure DP with correct pixel clock 2015-01-04 00:14:03 +01:00
dma.c tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
dma.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
dp.c nyan*: Add fast link training functions 2014-12-19 23:46:50 +01:00
early_display.c tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
emc.h tegra124/nyan: memory and display updates 2014-09-22 19:00:19 +02:00
flow.h T124: perform ram_repair when CPU rail is powered on in coldboot 2015-02-17 01:16:47 +01:00
gpio.h tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
i2c.c tegra124: i2c: Reset the controller when there's an error. 2014-11-14 07:28:18 +01:00
Kconfig CBMEM: Always use DYNAMIC_CBMEM 2015-01-27 22:54:32 +01:00
maincpu.h tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
maincpu.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
Makefile.inc vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
mc.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
monotonic_timer.c tegra124: Implement the monotonic timer by reading the 1us timer register. 2014-08-12 23:18:52 +02:00
pingroup.h tegra124: Implement driver code for the pinmux, pingroup controls, and GPIOs. 2014-08-19 22:46:52 +02:00
pinmux.h tegra124: Fix PWM pinmux functions 2014-11-12 20:14:38 +01:00
pmc.h tegra124/nyan: memory and display updates 2014-09-22 19:00:19 +02:00
power.c T124: perform ram_repair when CPU rail is powered on in coldboot 2015-02-17 01:16:47 +01:00
power.h T124: perform ram_repair when CPU rail is powered on in coldboot 2015-02-17 01:16:47 +01:00
sdram.c tegra124: clock: Enforce PLL constraints for VCO and CF 2014-12-16 23:29:16 +01:00
sdram.h tegra124: nyan: Keep in memory structures below 4GB. 2014-11-12 02:25:31 +01:00
sdram_lp0.c tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
sdram_param.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
soc.c tegra124: Skip display init when vboot says we don't need it. 2014-12-15 19:57:03 +01:00
sor.c tegra124: Active dc/sor register change immediately 2014-12-30 21:31:32 +01:00
sor.h t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
spi.c tegra124: Release DMA channel at end of transaction 2014-12-15 20:17:25 +01:00
spi.h spi: Factor EC protocol details out of the SPI drivers. 2014-12-09 20:32:06 +01:00
sysctr.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
timer.c
uart.c uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
usb.h tegra124/nyan: various fixes and additions 2014-09-12 21:59:45 +02:00
verstage.c vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
verstage.h vboot2: add verstage 2015-01-27 01:41:40 +01:00