mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 00:38:55 +00:00
24 lines
365 B
C
24 lines
365 B
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
/*
|
||
|
* Secure boot definitions
|
||
|
*
|
||
|
* Copyright (C) 2019 IBM Corporation
|
||
|
* Author: Nayna Jain
|
||
|
*/
|
||
|
#ifndef _ASM_POWER_SECURE_BOOT_H
|
||
|
#define _ASM_POWER_SECURE_BOOT_H
|
||
|
|
||
|
#ifdef CONFIG_PPC_SECURE_BOOT
|
||
|
|
||
|
bool is_ppc_secureboot_enabled(void);
|
||
|
|
||
|
#else
|
||
|
|
||
|
static inline bool is_ppc_secureboot_enabled(void)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
#endif
|