drm/nouveau/secboot: store ucode offset in base image structure
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 15 Nov 2016 06:02:27 +0000 (15:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit48eee549da0cd95456f23489fe9830a69c3565df
tree69bd17efb3cc5d89482984f7e1da48cb9790e351
parent5c4e0602d692fee7310cf468157d6056f61196eb
drm/nouveau/secboot: store ucode offset in base image structure

This allows the bootloader descriptor generation code to not rely on
specialized ls_ucode_img structures, making it reusable in other
instances.

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_r361.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode.h