summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-fsl-layerscape/ppa.h
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2016-06-28 20:18:14 +0800
committerYork Sun <york.sun@nxp.com>2016-07-19 11:33:53 -0700
commitf1dd4cadd20c3b6b2454b7f293265caa66f27fee (patch)
tree0eb577d5511458ad11aac6d28f990301a6484000 /arch/arm/include/asm/arch-fsl-layerscape/ppa.h
parentb45db3b59035735a0479d8df260d2349cdc3c21c (diff)
ARMv8/layerscape: Add FSL PPA support
The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Use the secure firmware framework to integrate FSL PPA into U-Boot. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/arch-fsl-layerscape/ppa.h')
-rw-r--r--arch/arm/include/asm/arch-fsl-layerscape/ppa.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/ppa.h b/arch/arm/include/asm/arch-fsl-layerscape/ppa.h
new file mode 100644
index 0000000000..1f1442b6f0
--- /dev/null
+++ b/arch/arm/include/asm/arch-fsl-layerscape/ppa.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2016 NXP Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __FSL_PPA_H_
+#define __FSL_PPA_H_
+
+#define SEC_FIRMWARE_FIT_IMAGE "firmware"
+#define SEC_FIRMEWARE_FIT_CNF_NAME "config@1"
+#define SEC_FIRMWARE_TARGET_EL 2
+
+int ppa_init(void);
+
+#endif