drm/nouveau/secboot: get start address of blob from ACR
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Jan 2017 07:04:14 +0000 (16:04 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:13 +0000 (17:05 +1000)
commitc3433603cab756bcad0d8629c291f43b4f591b7d
tree5c44ad0417b9b36086107676b8dd39799b42e56c
parente9462417f1fedec381dd148cbc1d29d21bec4500
drm/nouveau/secboot: get start address of blob from ACR

The start address used for secure blobs is not unique to the ACR, but
rather blob-dependent. Remove the unique member stored in the ACR
structure and make the load function return the start address for the
current blob instead.

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