]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1673fdc51c0b175748b5bb247e806680f7edf6e
tree5c44ad0417b9b36086107676b8dd39799b42e56c
parentf11965360e7de8f1c8958c30aaa649bd32588abd
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