1*9155e234SNayna Jain // SPDX-License-Identifier: GPL-2.0 2*9155e234SNayna Jain /* 3*9155e234SNayna Jain * Copyright (C) 2019 IBM Corporation 4*9155e234SNayna Jain * Author: Nayna Jain 5*9155e234SNayna Jain * 6*9155e234SNayna Jain * This file initializes secvar operations for PowerPC Secureboot 7*9155e234SNayna Jain */ 8*9155e234SNayna Jain 9*9155e234SNayna Jain #include <linux/cache.h> 10*9155e234SNayna Jain #include <asm/secvar.h> 11*9155e234SNayna Jain 12*9155e234SNayna Jain const struct secvar_operations *secvar_ops __ro_after_init; 13*9155e234SNayna Jain 14*9155e234SNayna Jain void set_secvar_ops(const struct secvar_operations *ops) 15*9155e234SNayna Jain { 16*9155e234SNayna Jain secvar_ops = ops; 17*9155e234SNayna Jain } 18