[U-Boot] [PATCHv4 2/7] ARMv8: add the sec_firmware header file
Zhiqiang Hou
Zhiqiang.Hou at nxp.com
Mon May 23 13:38:26 CEST 2016
From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
The sec_firmware.h is a common header file for secure monitor
firmware under ARMv8. The common API can be added to this file.
Added APIs for secure firmware validation and getting supported
PSCI version.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
---
V4:
- Reordered this patch.
- Removed the FSL PPA related items.
arch/arm/include/asm/armv8/sec_firmware.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 arch/arm/include/asm/armv8/sec_firmware.h
diff --git a/arch/arm/include/asm/armv8/sec_firmware.h b/arch/arm/include/asm/armv8/sec_firmware.h
new file mode 100644
index 0000000..a39e141
--- /dev/null
+++ b/arch/arm/include/asm/armv8/sec_firmware.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2016 NXP Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __SEC_FIRMWARE_H_
+#define __SEC_FIRMWARE_H_
+
+#ifdef CONFIG_ARMV8_PSCI
+unsigned int sec_firmware_support_psci_version(void);
+#endif
+int sec_firmware_validate(void);
+
+#endif /* __SEC_FIRMWARE_H_ */
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list