]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/secboot: generate HS BL descriptor in hook
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 14 Dec 2016 08:02:38 +0000 (17:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commit419e7fc5a798202f22162e93f2bb8cd452aa7a47
tree00c25e198a0917950f33216fe03930e77d278a07
parentab3bd75a47149afbfb020a4eea66b463623064c4
drm/nouveau/secboot: generate HS BL descriptor in hook

Use the HS hook to completely generate the HS BL descriptor, similarly
to what is done in the LS hook, instead of (arbitrarily) using the
acr_v1 format as an intermediate.

This allows us to make the bootloader descriptor structures private to
each implementation, resulting in a cleaner an more consistent design.

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