2016-06-28 12:18:13 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2016 NXP Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SEC_FIRMWARE_H_
|
|
|
|
#define __SEC_FIRMWARE_H_
|
|
|
|
|
2016-06-28 12:18:14 +00:00
|
|
|
#ifdef CONFIG_FSL_LS_PPA
|
|
|
|
#include <asm/arch/ppa.h>
|
|
|
|
#endif
|
|
|
|
|
2016-06-28 12:18:13 +00:00
|
|
|
int sec_firmware_init(const void *, u32 *, u32 *);
|
|
|
|
int _sec_firmware_entry(const void *, u32 *, u32 *);
|
|
|
|
bool sec_firmware_is_valid(const void *);
|
2016-12-08 03:58:21 +00:00
|
|
|
#ifdef CONFIG_FSL_PPA_ARMV8_PSCI
|
2016-06-28 12:18:13 +00:00
|
|
|
unsigned int sec_firmware_support_psci_version(void);
|
|
|
|
unsigned int _sec_firmware_support_psci_version(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __SEC_FIRMWARE_H_ */
|