secvar-ops.c 364 B

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