coreboot-kgpe-d16/src/soc/nvidia/tegra124
Jimmy Zhang b365530bb6 tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME
Based on TRM, cpu clock enabling and reset vector setting should
all be done properly before ungating cpu power partition. Otherwise,
with current code, a race condition could occur where cpu starts but
reset vector has not been set.

BUG=chrome-os-partner:30064
BRANCH=none
TEST=run nyan_big reboot test. No issue is experienced.

Original-Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
Original-Change-Id: I571e128693bb2763ee673bd183b8cf60921dc475
Original-Reviewed-on: https://chromium-review.googlesource.com/206682
Original-Tested-by: Jimmy Zhang <jimmzhang@nvidia.com>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Commit-Queue: Jimmy Zhang <jimmzhang@nvidia.com>
(cherry picked from commit 106480ff32406c899a24544fdfab858db5afd1d9)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I3da6018dd68e4c15d2c58db566a9745b0b26c365
Reviewed-on: http://review.coreboot.org/8414
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-02-17 01:16:34 +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 tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME 2015-02-17 01:16:34 +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 Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02: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 tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME 2015-02-17 01:16:34 +01:00
power.h tegra124: Correct cpu power on sequence and CPUPWRGOOD_TIME 2015-02-17 01:16:34 +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 tegra124: Add a stub implementation of the tegra124 SOC. 2014-08-05 18:44:53 +02:00
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