Warning: This file is not a C or C++ file. It does not have highlighting.

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
13bool is_ppc_secureboot_enabled(void);
14bool is_ppc_trustedboot_enabled(void);
15
16#else
17
18static inline bool is_ppc_secureboot_enabled(void)
19{
20 return false;
21}
22
23static inline bool is_ppc_trustedboot_enabled(void)
24{
25 return false;
26}
27
28#endif
29#endif
30

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/arch/powerpc/include/asm/secure_boot.h