2 * Copyright 2016 NXP Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef __SEC_FIRMWARE_H_
8 #define __SEC_FIRMWARE_H_
10 #define PSCI_INVALID_VER 0xffffffff
12 int sec_firmware_init(const void *, u32 *, u32 *);
13 int _sec_firmware_entry(const void *, u32 *, u32 *);
14 bool sec_firmware_is_valid(const void *);
15 #ifdef CONFIG_SEC_FIRMWARE_ARMV8_PSCI
16 unsigned int sec_firmware_support_psci_version(void);
17 unsigned int _sec_firmware_support_psci_version(void);
19 static inline unsigned int sec_firmware_support_psci_version(void)
21 return PSCI_INVALID_VER;
25 #endif /* __SEC_FIRMWARE_H_ */