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, 6 Nov 2013 08:24:06 +0000 (09:24 +0100)
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 0ca5d8a97a0b6d150fd7dd4ad8e8e6e48e12170b..9af340e75ed052fe4a6701f5c77646d067eb6c60 100644 (file)
@@ -29,8 +29,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 */