Tegra: memctrl_v2: zero out NS Video memory carveout region
The video memory carveout has to be re-sized depending on the Video
content. This requires the NS world to send us new base/size values.
Before setting up the new region, we must zero out the previous memory
region, so that the video frames are not leaked to the outside world.

This patch adds the logic to zero out the previous memory carveout
region.

Change-Id: I471167ef7747154440df5c1a5e015fbeb69d9043
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent e9cb01d commit 9d42d23a2cb1394d0c9cf396dda7a362908da020
@Varun Wadekar Varun Wadekar authored on 21 Dec 2016
Showing 2 changed files
View
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
View
plat/nvidia/tegra/include/t186/tegra_def.h