coreboot-kgpe-d16/src/soc/nvidia/tegra210
Tom Warren 0bdb88b106 Smaug: Add NVDEC and TSEC carveouts
The NV security team requested that coreboot allocate the NVDEC
and TSEC carveouts. Added code to set up NVDEC (1 region, 1MB)
and TSEC (2 regions, splitting 2MB), and set their lock bits.
Kernel/trusted code should be able to use the regions now.

Note that this change sets the UNLOCKED bit in Carveout1Cfg0
and Carveout4Cfg0/5Cfg0 (bit 1) to 0 in the BCT .inc files
(both 3GB and 4GB BCTs) so that the BOMs can be written.
Any future revisions to these BCT files should take this
into account.

BUG=None
BRANCH=None
TEST=Built and booted on my P5 A44. Saw the carveout regions
in the boot spew, and CBMEM living just below the last region
(TSEC). Dumped the MC GeneralizedCarveoutX registers and
verified their values (same as BCT, with only BOM/CFG0 changed).

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Original-Commit-Id: a34b0772cd721193640b322768ce5fcbb4624f23
Original-Change-Id: I2abc872fa1cc4ea669409ffc9f2e66dbbc4efcd0
Original-Signed-off-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/290452
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Original-(cherry picked from commit f3bbf25397db4d17044e9cfd135ecf73df0ffa60)
Original-Reviewed-on: https://chromium-review.googlesource.com/291081
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>

Change-Id: I924dfdae7b7c9b877cb1c93fd94f0ef98b728ac5
Reviewed-on: http://review.coreboot.org/11381
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-08-28 06:40:08 +00:00
..
include/soc Smaug: Add NVDEC and TSEC carveouts 2015-08-28 06:40:08 +00:00
jdi_25x18_display
lp0 t210: lp0_resume: implement MBIST workaround 2015-07-29 19:29:03 +02:00
addressmap.c Smaug: Add NVDEC and TSEC carveouts 2015-08-28 06:40:08 +00:00
ape.c
bootblock.c t210: implement MBIST workaround 2015-07-23 16:44:30 +02:00
bootblock_asm.S
cbmem.c
ccplex.c t210: set CAR2PMC_CPU_ACK_WIDTH to 0 2015-07-09 00:09:16 +02:00
chip.h
clock.c t210: audio: add CLK_V_EXTPERIPH1 clock 2015-07-23 16:44:53 +02:00
cpu.c
cpu_lib.S
dc.c
dma.c t210: Correct dma_busy function 2015-07-16 22:36:57 +02:00
dp.c
dsi.c
flow_ctrl.c
funitcfg.c
gic.c
i2c.c
i2c6.c t210: i2c6: enable SOR_SAFE and DPAUX1 clocks for i2c6 to work 2015-07-09 00:09:08 +02:00
Kconfig ChromeOS: Fix Kconfig dependencies 2015-08-21 19:53:41 +00:00
maincpu.S
Makefile.inc t210: new sdram_lp0_save_params() function 2015-07-16 22:39:33 +02:00
mipi-phy.c
mipi.c
mipi_dsi.c
mmu_operations.c t210: Correct device MMIO range 2015-07-21 21:27:21 +02:00
monotonic_timer.c
mtc.c
padconfig.c
power.c
psci.c
ram_code.c
ramstage.c t210: Enable WRAP to INCR burst type conversion in MSELECT 2015-07-23 16:44:40 +02:00
reset.c
romstage.c Smaug: Add NVDEC and TSEC carveouts 2015-08-28 06:40:08 +00:00
romstage_asm.S
sdram.c t210: new sdram_lp0_save_params() function 2015-07-16 22:39:33 +02:00
sdram_lp0.c t210: new sdram_lp0_save_params() function 2015-07-16 22:39:33 +02:00
secmon.c t210: Add TZDRAM_BASE param to BL31_MAKEARGS 2015-07-13 09:19:34 +02:00
soc.c t210: new sdram_lp0_save_params() function 2015-07-16 22:39:33 +02:00
sor.c
spi.c t210: SPI driver cleanup 2015-07-16 22:37:11 +02:00
stack.S
stage_entry.S license headers: Drop FSF addresses again 2015-08-09 17:49:13 +02:00
uart.c
verstage.c tegra210: Include correct include files 2015-07-01 20:18:21 +02:00