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
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
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)
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);
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[] = {
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;
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 && \