drm/nouveau/secboot: use falcon library
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:27 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commitd72fb36c45698b9f49a1159eb1a3eb46235d3586
treef516b2a2ed96e2e8386bb8cb9304fdfc779c8b4f
parent236f4747915bbad4cd276654659870b081e882be
drm/nouveau/secboot: use falcon library

Use the falcon library functions in secure boot. This removes a lot of
code and makes the secure boot flow easier to understand as no register
is directly accessed.

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