]> 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)
commit66a4dc735af09c2e5d8a61a2414d085d36c3fb61
tree00c25e198a0917950f33216fe03930e77d278a07
parent114b1705c8f8925fc25a58c90877ba88981e0c54
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