mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 22:03:15 +00:00
f1dd4cadd2
The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Use the secure firmware framework to integrate FSL PPA into U-Boot. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
22 lines
521 B
C
22 lines
521 B
C
/*
|
|
* Copyright 2016 NXP Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __SEC_FIRMWARE_H_
|
|
#define __SEC_FIRMWARE_H_
|
|
|
|
#ifdef CONFIG_FSL_LS_PPA
|
|
#include <asm/arch/ppa.h>
|
|
#endif
|
|
|
|
int sec_firmware_init(const void *, u32 *, u32 *);
|
|
int _sec_firmware_entry(const void *, u32 *, u32 *);
|
|
bool sec_firmware_is_valid(const void *);
|
|
#ifdef CONFIG_ARMV8_PSCI
|
|
unsigned int sec_firmware_support_psci_version(void);
|
|
unsigned int _sec_firmware_support_psci_version(void);
|
|
#endif
|
|
|
|
#endif /* __SEC_FIRMWARE_H_ */
|