]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: zynq : Revert TZ_DDR_RAM to secure.
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Fri, 27 Sep 2013 11:22:57 +0000 (16:52 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Oct 2013 05:54:40 +0000 (07:54 +0200)
TZ_DDR_RAM on reset is in secure mode.
Since uboot and linux runs in full
TZ privilege secure mode, no need
to set DDR trustzone to non-secure.

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/cpu.c

index 4345ee61577f2160ef3b6904ad8ca72b1273cba4..318125d29887dd8bd1d47cc1eb0913b36c20eafa 100644 (file)
@@ -45,8 +45,6 @@ int arch_cpu_init(void)
        writel(0x1F, &slcr_base->ocm_cfg);
        /* FPGA_RST_CTRL, clear resets on AXI fabric ports */
        writel(0x0, &slcr_base->fpga_rst_ctrl);
-       /* TZ_DDR_RAM, Set DDR trust zone non-secure */
-       writel(0xFFFFFFFF, &slcr_base->trust_zone);
        /* Set urgent bits with register */
        writel(0x0, &slcr_base->ddr_urgent_sel);
        /* Urgent write, ports S2/S3 */