hello fanyangyf688,
-
TZRAM is on-chip RAM which act like a normal RAM by default; ATF doesn’t use TZRAM.
-
TZ-DRAM is majority for ARM trusted application (TA) code to access security data/code under DRAM.
the start address of TZ-DRAM is configured in the makefile; there is an assumption that maximum allowed size for TZ-DRAM is 32MB.
the size and alignment are configured by BCT, (i.e. tegra186-mb1-bct-misc-si.cfg), you may also checksw_carveout.tzdram_carveout_size
for reference.
thanks