arm: tegra: add Trusted Foundations hooks and driver
authorChris Johnson <cwj@nvidia.com>
Sat, 19 Nov 2011 00:14:07 +0000 (16:14 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 8 Dec 2011 12:29:13 +0000 (17:29 +0530)
commit644d1fbf85ef31720cfefbe1f332767fe572e93a
treee79dae0187c03fef575bee42306e63ced5d668d7
parentd4808f8257f2868ac5dc29da2a266e975156c583
arm: tegra: add Trusted Foundations hooks and driver

Add CONFIG_TRUSTED_FOUNDATIONS build option and calls to issue
SMCs to the TL secure monitor (used when needing to update state
not writable by non-secure code).

Make security/tf_driver an optional part of the build, which is
part of the TL framework to interact with secure services.

Bug 883391

Change-Id: I9c6c14ff457fb3a0c612d558fe731a17c2480750
Signed-off-by: Chris Johnson <cwj@nvidia.com>
Reviewed-on: http://git-master/r/65616
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
26 files changed:
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pm.h
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/reset.h
arch/arm/mach-tegra/sleep-t2.S
arch/arm/mach-tegra/sleep-t3.S
arch/arm/mach-tegra/sleep.S
arch/arm/mach-tegra/sleep.h
arch/arm/mm/proc-v7.S
security/Kconfig
security/Makefile
security/tf_driver/Kconfig [new file with mode: 0644]
security/tf_driver/Makefile [new file with mode: 0644]
security/tf_driver/s_version.h [new file with mode: 0644]
security/tf_driver/tf_comm.c [new file with mode: 0644]
security/tf_driver/tf_comm.h [new file with mode: 0644]
security/tf_driver/tf_comm_tz.c [new file with mode: 0644]
security/tf_driver/tf_conn.c [new file with mode: 0644]
security/tf_driver/tf_conn.h [new file with mode: 0644]
security/tf_driver/tf_defs.h [new file with mode: 0644]
security/tf_driver/tf_device.c [new file with mode: 0644]
security/tf_driver/tf_protocol.h [new file with mode: 0644]
security/tf_driver/tf_util.c [new file with mode: 0644]
security/tf_driver/tf_util.h [new file with mode: 0644]