]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/armv8/sec_firmware.h
ARMv8: add the secure monitor firmware framework
[u-boot] / arch / arm / include / asm / armv8 / sec_firmware.h
1 /*
2  * Copyright 2016 NXP Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __SEC_FIRMWARE_H_
8 #define __SEC_FIRMWARE_H_
9
10 int sec_firmware_init(const void *, u32 *, u32 *);
11 int _sec_firmware_entry(const void *, u32 *, u32 *);
12 bool sec_firmware_is_valid(const void *);
13 #ifdef CONFIG_ARMV8_PSCI
14 unsigned int sec_firmware_support_psci_version(void);
15 unsigned int _sec_firmware_support_psci_version(void);
16 #endif
17
18 #endif /* __SEC_FIRMWARE_H_ */