diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-09-25 12:11:16 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-12-02 15:37:20 +1000 |
commit | bfdd70d19a718bca825f64f811b9611c4908f7b6 (patch) | |
tree | 1c853cce44b795ffc813140da7846acba6fab822 /nvkm | |
parent | 7aa51ccc51e9a6a4597e8d5e7e698dc7f5920fd7 (diff) | |
download | nouveau-bfdd70d19a718bca825f64f811b9611c4908f7b6.tar.gz |
bios: stop after NV+NPDS+ISBN image
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm')
-rw-r--r-- | nvkm/subdev/bios/image.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nvkm/subdev/bios/image.c b/nvkm/subdev/bios/image.c index d91e2f3a8..373f9a564 100644 --- a/nvkm/subdev/bios/image.c +++ b/nvkm/subdev/bios/image.c @@ -53,10 +53,15 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image) image->type = pcir.image_type; image->last = pcir.last; - if (!(data = nvbios_npdeTp(bios, image->base, &npde))) - return true; - image->size = npde.image_size; - image->last = npde.last; + if (image->type != 0x70) { + if (!(data = nvbios_npdeTp(bios, image->base, &npde))) + return true; + image->size = npde.image_size; + image->last = npde.last; + } else { + image->last = true; + } + return true; } |