summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm.h
diff options
context:
space:
mode:
authorNitin Sehgal <nsehgal@nvidia.com>2014-02-06 12:22:45 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2014-02-09 21:54:20 -0800
commit7f93a0dddf39f372c064f772f9af6903e91aaacf (patch)
tree771484fe44d5857a58ca2b20c3dde9820584737e /arch/arm/mach-tegra/pm.h
parent76fdf095ea7881e7f62621d6c6baabc4e50e660f (diff)
ARM: tegra: trustzone: Single kernel to work in both secure and non-secure mode.
- Remove CONFIG_TEGRA_USE_SECURE_KERNEL config option - Use DBGDSCR.NS bit to dynamically get secure/non-secure mode - Replace ifdefs with dynamic code. - Keep CONFIG_TRUSTED_LITTLE_KERNEL to enable secure os bug 1411345 Change-Id: I75ddfed7a35fcb30e2772bb43057ae022bcf09b3 Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-on: http://git-master/r/353155 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r--arch/arm/mach-tegra/pm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h
index 258847e3490c..b2981e2ab962 100644
--- a/arch/arm/mach-tegra/pm.h
+++ b/arch/arm/mach-tegra/pm.h
@@ -6,7 +6,7 @@
* Author:
* Colin Cross <ccross@google.com>
*
- * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2010-2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -341,9 +341,7 @@ void tegra_smp_save_power_mask(void);
void tegra_smp_restore_power_mask(void);
#endif
-#ifdef CONFIG_TEGRA_USE_SECURE_KERNEL
void tegra_generic_smc(u32 type, u32 subtype, u32 arg);
-#endif
/* The debug channel uart base physical address */
extern unsigned long debug_uart_port_base;