nb/intel/*/gma.c: remove spaces at the fake vbt generation

Padding the VBT id string is now done automatically.

Change-Id: I8f9baf7b1585026bc29b82d07e451aa11e284ffb
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/16740
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Arthur Heymans 2016-09-25 22:48:00 +02:00 committed by Nico Huber
parent 2e77e0aa3f
commit d3284a6977
5 changed files with 5 additions and 7 deletions

View File

@ -740,8 +740,7 @@ static void gma_func0_init(struct device *dev)
} }
/* Linux relies on VBT for panel info. */ /* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(&conf->gfx, dev, generate_fake_intel_oprom(&conf->gfx, dev, "$VBT CANTIGA");
"$VBT CANTIGA ");
} }
} }

View File

@ -277,8 +277,7 @@ static void gma_func0_init(struct device *dev)
} }
/* Linux relies on VBT for panel info. */ /* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(&conf->gfx, dev, generate_fake_intel_oprom(&conf->gfx, dev, "$VBT PINEVIEW");
"$VBT PINEVIEW ");
} }
} }

View File

@ -524,7 +524,7 @@ int i915lightup_ivy(const struct i915_gpu_controller_info *info,
/* Linux relies on VBT for panel info. */ /* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)), generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)),
"$VBT SNB/IVB-MOBILE "); "$VBT SNB/IVB-MOBILE");
return 1; return 1;
} }

View File

@ -479,7 +479,7 @@ int i915lightup_sandy(const struct i915_gpu_controller_info *info,
/* Linux relies on VBT for panel info. */ /* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)), generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)),
"$VBT SNB/IVB-MOBILE "); "$VBT SNB/IVB-MOBILE");
return 1; return 1;
} }

View File

@ -177,7 +177,7 @@ static void native_init(struct device *dev)
} }
/* Linux relies on VBT for panel info. */ /* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(&conf->gfx, dev, "$VBT EAGLELAKE "); generate_fake_intel_oprom(&conf->gfx, dev, "$VBT EAGLELAKE");
} }
static void gma_func0_init(struct device *dev) static void gma_func0_init(struct device *dev)