From bfdd70d19a718bca825f64f811b9611c4908f7b6 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Thu, 25 Sep 2014 12:11:16 +1000 Subject: bios: stop after NV+NPDS+ISBN image Signed-off-by: Ben Skeggs --- nvkm/subdev/bios/image.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'nvkm') 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; } -- cgit v1.2.1