xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/gb100.c (revision e78f70bad29c5ae1e1076698b690b15794e9b81e)
1 /* SPDX-License-Identifier: MIT
2  *
3  * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
4  */
5 #include "priv.h"
6 
7 static const struct nvkm_fsp_func
8 gb100_fsp = {
9 	.wait_secure_boot = gh100_fsp_wait_secure_boot,
10 	.cot = {
11 		.version = 2,
12 		.size_hash = 48,
13 		.size_pkey = 97,
14 		.size_sig = 96,
15 		.boot_gsp_fmc = gh100_fsp_boot_gsp_fmc,
16 	},
17 };
18 
19 int
20 gb100_fsp_new(struct nvkm_device *device,
21 	      enum nvkm_subdev_type type, int inst, struct nvkm_fsp **pfsp)
22 {
23 	return nvkm_fsp_new_(&gb100_fsp, device, type, inst, pfsp);
24 }
25