blob: a4e144b171da9b83c359c906fc5f08fa830e9d35 [file] [log] [blame]
Hou Zhiqiang505d7352016-06-28 20:18:13 +08001/*
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
Hou Zhiqiang00787862016-06-28 20:18:14 +080010#ifdef CONFIG_FSL_LS_PPA
11#include <asm/arch/ppa.h>
12#endif
13
Hou Zhiqiang505d7352016-06-28 20:18:13 +080014int sec_firmware_init(const void *, u32 *, u32 *);
15int _sec_firmware_entry(const void *, u32 *, u32 *);
16bool sec_firmware_is_valid(const void *);
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +080017#ifdef CONFIG_FSL_PPA_ARMV8_PSCI
Hou Zhiqiang505d7352016-06-28 20:18:13 +080018unsigned int sec_firmware_support_psci_version(void);
19unsigned int _sec_firmware_support_psci_version(void);
20#endif
21
22#endif /* __SEC_FIRMWARE_H_ */