drm/nouveau/secboot: fix usage of hsf_load_header
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 15 Nov 2016 07:29:02 +0000 (16:29 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:11 +0000 (17:05 +1000)
commit5c4e0602d692fee7310cf468157d6056f61196eb
tree91f92dba070213a90d5cfd61b40318b08271e9e8
parent913b97f94478db1c93cc5a1f07fa03ee4e2d5f8b
drm/nouveau/secboot: fix usage of hsf_load_header

Offsets were not properly computed. This went unnoticed because we are
only using one app for now.

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