drm/nouveau/secboot: support standard NVIDIA HS binaries
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Jan 2017 07:12:10 +0000 (16:12 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:15 +0000 (17:05 +1000)
commitc5e1fef4875b75df48a7e9828243062799e444dc
tree4aced08b30c0858dd91387f72f570a9a10868844
parentb58b41716302ed95df16d8fcefc7edb1ce5cf794
drm/nouveau/secboot: support standard NVIDIA HS binaries

I had the brilliant idea to "improve" the binary format by removing
a useless indirection in the HS binary files. In the end it just
makes things more complicated than they ought to be as NVIDIA-provided
files need to be adapted. Since the format used can be identified by the
header, support both.

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