arm: tegra: add Trusted Foundations hooks and driver
authorChris Johnson <cwj@nvidia.com>
Sat, 19 Nov 2011 00:14:07 +0000 (16:14 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 04:27:07 +0000 (21:27 -0700)
commit9c975ae6f9f9e34e8e940044455df07b8871d642
treecb61836a0d3a6a88ad435ba79d04ab5d3f0e6fb8
parent4d0514fff017e12f651840791007e434877d7004
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>

Rebase-Id: R57977499bb6b372ac4faa360e442e8733265e9f3
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]