Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Secure boot definitions
0004  *
0005  * Copyright (C) 2019 IBM Corporation
0006  * Author: Nayna Jain
0007  */
0008 #ifndef _ASM_POWER_SECURE_BOOT_H
0009 #define _ASM_POWER_SECURE_BOOT_H
0010 
0011 #ifdef CONFIG_PPC_SECURE_BOOT
0012 
0013 bool is_ppc_secureboot_enabled(void);
0014 bool is_ppc_trustedboot_enabled(void);
0015 
0016 #else
0017 
0018 static inline bool is_ppc_secureboot_enabled(void)
0019 {
0020     return false;
0021 }
0022 
0023 static inline bool is_ppc_trustedboot_enabled(void)
0024 {
0025     return false;
0026 }
0027 
0028 #endif
0029 #endif