mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 14:53:06 +00:00
2d16a1a6c9
NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used for a generic PSCI for ARMv8 which will be added in following patchs. Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com>
22 lines
529 B
C
22 lines
529 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_FSL_PPA_ARMV8_PSCI
|
|
unsigned int sec_firmware_support_psci_version(void);
|
|
unsigned int _sec_firmware_support_psci_version(void);
|
|
#endif
|
|
|
|
#endif /* __SEC_FIRMWARE_H_ */
|