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, 14 Sep 2013 08:35:56 +0000 (01:35 -0700)
commit15ef9ae4928cf2e96b55859894cb5389c47ace66
tree75f8aca3f120943cee6ee0d9e982ef54acf75974
parentc36df0096881fc0bb8f39e4c798e4506f3804bc4
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
25 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/sleep-t20.S
arch/arm/mach-tegra/sleep-t30.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]