1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Secure boot definitions 4 * 5 * Copyright (C) 2019 IBM Corporation 6 * Author: Nayna Jain 7 */ 8 #ifndef _ASM_POWER_SECURE_BOOT_H 9 #define _ASM_POWER_SECURE_BOOT_H 10 11 #ifdef CONFIG_PPC_SECURE_BOOT 12 13 bool is_ppc_secureboot_enabled(void); 14 bool is_ppc_trustedboot_enabled(void); 15 16 #else 17 18 static inline bool is_ppc_secureboot_enabled(void) 19 { 20 return false; 21 } 22 23 static inline bool is_ppc_trustedboot_enabled(void) 24 { 25 return false; 26 } 27 28 #endif 29 #endif 30