coreboot-kgpe-d16/src/soc/nvidia/tegra132
Aaron Durbin 2152e85e12 tegra132: never recover cbmem from romstage
Tegra132 has 2 different paths for booting and resuming from
sleep. The boot path uses the typical bootblock, romstage,
and ramstage. However, the resume path is completely orthogonal.
cbmem_initialize() attempts to recover the cbmem area, but
that functionality should not be used from romstage because
tegra132 is by definition in a fresh boot if it is executing
romstage. Therefore, use cbmem_initialize_empty() so that cbmem
is always initialized from scratch on each boot.

BUG=chrome-os-partner:31239
BRANCH=None
TEST=Built and ran on ryu. Was able to enter recovery and stay in
     recovery without entering a reboot loop.

Change-Id: I0453c15e57a873a7ce7a63190dceafb75e4c9342
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 28ebc092e6721552c18db03e7578424c23a64b64
Original-Change-Id: I2016146fdc3aea493a78bab31ea8c8cbd78935c5
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/211424
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8990
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-03-27 08:03:15 +01:00
..
include/soc tegra132: allow mainboards to insert memory regions in address map 2015-03-26 00:30:53 +01:00
addressmap.c tegra132: fix carveout address calculation >= 4GiB 2015-03-26 00:27:06 +01:00
bootblock.c tegra132: move common bootblock init into SoC code 2015-03-26 00:26:42 +01:00
bootblock_asm.S coreboot t132: Stack init re-work 2015-03-04 19:58:30 +01:00
cbfs.c coreboot t132: Enable loading of romstage from CBFS media 2015-03-04 18:16:27 +01:00
cbmem.c tegra132: add support for TZ carve-out 2015-03-05 17:32:19 +01:00
ccplex.c tegra132: convert to stopwatch API 2015-03-21 17:01:12 +01:00
ccplex.h t132: bring up 64-bit denver core 2015-03-05 17:31:04 +01:00
chip.h
clk_rst.h tegra132: add I2C6 controller to funit library 2015-03-26 00:27:52 +01:00
clock.c t132: Implement clock initialization api for functional units 2015-03-26 00:26:52 +01:00
clst_clk.h Tegra132: Configure CPU clock 2015-03-17 16:39:22 +01:00
dma.c coreboot t132,rush: Add mainboard specific bootblock_init 2015-03-04 18:15:44 +01:00
dma.h coreboot t132,rush: Add mainboard specific bootblock_init 2015-03-04 18:15:44 +01:00
emc.h coreboot rush: Add dram init code 2015-03-04 18:23:46 +01:00
flow.h tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00
funitcfg.c tegra132: add I2C6 controller to funit library 2015-03-26 00:27:52 +01:00
gpio.h tegra132: provide pad configuration interface 2015-03-24 15:27:40 +01:00
i2c.c coreboot t132,rush: Add mainboard specific bootblock_init 2015-03-04 18:15:44 +01:00
Kconfig tegra132: select HAVE_MONOTONIC_TIMER 2015-03-25 22:31:55 +01:00
maincpu.h tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00
maincpu.S tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00
Makefile.inc tegra132: add usb initialization support to funit 2015-03-26 00:27:20 +01:00
mc.h tegra132: add support for TZ carve-out 2015-03-05 17:32:19 +01:00
mmu_operations.c tegra132: allow mainboards to insert memory regions in address map 2015-03-26 00:30:53 +01:00
mmu_operations.h t132: Add mmu support 2015-03-13 00:12:23 +01:00
monotonic_timer.c coreboot t132,rush: Add mainboard specific bootblock_init 2015-03-04 18:15:44 +01:00
padconfig.c tegra132: provide pad configuration interface 2015-03-24 15:27:40 +01:00
pinmux.h tegra132: fix gpio constants 2015-03-25 22:31:51 +01:00
pmc.h tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00
power.c t132: bring up 64-bit denver core 2015-03-05 17:31:04 +01:00
power.h t132: bring up 64-bit denver core 2015-03-05 17:31:04 +01:00
ramstage.c Tegra132: Configure CPU clock 2015-03-17 16:39:22 +01:00
reset.c tegra132: use pre-existing reset API 2015-03-25 22:31:54 +01:00
romstage.c tegra132: never recover cbmem from romstage 2015-03-27 08:03:15 +01:00
romstage_asm.S coreboot t132: Stack init re-work 2015-03-04 19:58:30 +01:00
sdram.c t132: Enable cbmem console support 2015-03-05 17:31:26 +01:00
sdram.h t132: Enable cbmem console support 2015-03-05 17:31:26 +01:00
sdram_lp0.c coreboot rush: Add dram init code 2015-03-04 18:23:46 +01:00
sdram_param.h coreboot rush: Add dram init code 2015-03-04 18:23:46 +01:00
soc.c tegra132: Initialize CNTFRQ 2015-03-26 00:27:53 +01:00
spi.c tegra132: convert to stopwatch API 2015-03-21 17:01:12 +01:00
spi.h coreboot t132,rush: Add mainboard specific bootblock_init 2015-03-04 18:15:44 +01:00
stack.S coreboot t132: Stack init re-work 2015-03-04 19:58:30 +01:00
sysctr.h tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00
timer.c tegra132: convert to stopwatch API 2015-03-21 17:01:12 +01:00
uart.c tegra132: Enable bootblock support in tegra132 including UART support 2015-03-02 21:17:21 +01:00