1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 IBM Corporation
6 * This file initializes secvar operations for PowerPC Secureboot
9 #include <linux/cache.h>
10 #include <asm/secvar.h>
13 const struct secvar_operations *secvar_ops __ro_after_init = NULL;
15 int set_secvar_ops(const struct secvar_operations *ops)
17 if (WARN_ON_ONCE(secvar_ops))