drm/nouveau/secboot: abstract fixup_hs_desc function
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 1 Nov 2016 06:05:03 +0000 (15:05 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit9bb55bb79f480d6422db55f0ed5052d3b0a2d22e
tree7a3ecaa3a81ae5593e5e022d399979d815d7c7e9
parentf7152a232c6f72c196ec6c64ae5ebb040396ec31
drm/nouveau/secboot: abstract fixup_hs_desc function

As different firmare versions use different HS descriptor formats, we
need to abstract this part as well.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.h
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c