drm/nouveau/secboot/gm20b: add secure boot support
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 24 Feb 2016 05:42:24 +0000 (14:42 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:24 +0000 (10:13 +1000)
commit923f1bd27bf1ed49b3d1a4cccf2c8238618b49cf
treec43bc6b341b617f578f01a92ba43346d635df18a
parent9cc45521498b208b44575c96aa0b19e8eaac26ca
drm/nouveau/secboot/gm20b: add secure boot support

Add secure boot support for the GM20B chip found in Tegra X1. Secure
boot on Tegra works slightly differently from desktop, notably in the
way the WPR region is set up.

In addition, the firmware bootloaders use a slightly different header
format.

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/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c [new file with mode: 0644]