Revert "TrustZone: Add Support Trust OS"

This reverts commit 940a3100bd.
This commit is contained in:
qjb
2015-01-09 10:00:04 +08:00
parent e3240f9a79
commit a8d700c478
5 changed files with 4 additions and 24 deletions

View File

@@ -20,8 +20,8 @@ config ARCH_ROCKCHIP
select DMADEVICES
select PL330_DMA
select FIQ_GLUE
select ARM_ERRATA_818325 if !ARM_TRUSTZONE
select ARM_ERRATA_821420 if !ARM_TRUSTZONE
select ARM_ERRATA_818325
select ARM_ERRATA_821420
if ARCH_ROCKCHIP

View File

@@ -5,7 +5,7 @@ obj-y += rk312x.o
obj-y += rk3126b.o
obj-y += rk3188.o
obj-y += rk3288.o
obj-$(!CONFIG_ARM_TRUSTZONE) += ddr_freq.o
obj-y += ddr_freq.o
obj-y += efuse.o
obj-y += pvtm.o
obj-y += rk_system_status.o

View File

@@ -841,9 +841,7 @@ void fiq_glue_resume(void);
static inline void rkpm_peri_resume(u32 power_mode)
{
rkpm_gic_dist_resume(&slp_gic_save[0]);
#ifndef CONFIG_ARM_TRUSTZONE
fiq_glue_resume();
#endif
}
static void rkpm_save_setting_resume(void)

View File

@@ -146,9 +146,7 @@ static void __init rk3288_dt_map_io(void)
writel_relaxed(0x00010001, RK_GRF_VIRT + RK3288_GRF_SOC_CON2);
/* disable address remap */
#ifndef CONFIG_ARM_TRUSTZONE
writel_relaxed(0x08000000, RK_SGRF_VIRT + RK3288_SGRF_SOC_CON0);
#endif
/* enable timer7 for core */
writel_relaxed(0, RK3288_TIMER7_VIRT + 0x10);
@@ -164,9 +162,7 @@ static void __init rk3288_dt_map_io(void)
writel_relaxed(24, RK_PMU_VIRT + RK3288_PMU_GPU_PWRUP_CNT);
rk3288_boot_mode_init();
#ifndef CONFIG_ARM_TRUSTZONE
rockchip_efuse_init();
#endif
}
static const u8 pmu_st_map[] = {
@@ -671,11 +667,7 @@ static int __init rk3288_pm_dbg(void)
static int __init rk3288_ddr_init(void)
{
if (cpu_is_rk3288()
#ifdef CONFIG_ARM_TRUSTZONE
&& false
#endif
)
if (cpu_is_rk3288())
{
ddr_change_freq = _ddr_change_freq;
ddr_round_rate = _ddr_round_rate;

View File

@@ -596,16 +596,6 @@ config IO_36
comment "Processor Features"
config ARM_TRUSTZONE
bool "Support TrustZone-enabled Trusted Execution Environment"
default n
help
Select if you want a kernel to be executed at non-secure world.
This option should be used with related secure bootloader and
TrustZone software.
If you don't know about TrustZone, say 'N'.
config ARM_LPAE
bool "Support for the Large Physical Address Extension"
depends on MMU && CPU_32v7 && !CPU_32v6 && !CPU_32v5 && \