summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2016-09-25 22:48:00 +0200
committerNico Huber <nico.h@gmx.de>2016-09-27 15:44:44 +0200
commitd3284a69772c84c7d9ff7f486837fd970a4ea717 (patch)
tree519a0e6beefa0540f1a82204688a57495b05975b /src
parent2e77e0aa3fa9d2fd7b65f19c6fcabcbcfba7be2d (diff)
downloadcoreboot-d3284a69772c84c7d9ff7f486837fd970a4ea717.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/gm45/gma.c3
-rw-r--r--src/northbridge/intel/pineview/gma.c3
-rw-r--r--src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c2
-rw-r--r--src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c2
-rw-r--r--src/northbridge/intel/x4x/gma.c2
5 files changed, 5 insertions, 7 deletions
diff --git a/src/northbridge/intel/gm45/gma.c b/src/northbridge/intel/gm45/gma.c
index 14f695e919..0545ba5964 100644
--- a/src/northbridge/intel/gm45/gma.c
+++ b/src/northbridge/intel/gm45/gma.c
@@ -740,8 +740,7 @@ static void gma_func0_init(struct device *dev)
}
/* Linux relies on VBT for panel info. */
- generate_fake_intel_oprom(&conf->gfx, dev,
- "$VBT CANTIGA ");
+ generate_fake_intel_oprom(&conf->gfx, dev, "$VBT CANTIGA");
}
}
diff --git a/src/northbridge/intel/pineview/gma.c b/src/northbridge/intel/pineview/gma.c
index 335e38a29b..d67019888b 100644
--- a/src/northbridge/intel/pineview/gma.c
+++ b/src/northbridge/intel/pineview/gma.c
@@ -277,8 +277,7 @@ static void gma_func0_init(struct device *dev)
}
/* Linux relies on VBT for panel info. */
- generate_fake_intel_oprom(&conf->gfx, dev,
- "$VBT PINEVIEW ");
+ generate_fake_intel_oprom(&conf->gfx, dev, "$VBT PINEVIEW");
}
}
diff --git a/src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c b/src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c
index f6818dde30..831e8ce8b5 100644
--- a/src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c
+++ b/src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c
@@ -524,7 +524,7 @@ int i915lightup_ivy(const struct i915_gpu_controller_info *info,
/* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)),
- "$VBT SNB/IVB-MOBILE ");
+ "$VBT SNB/IVB-MOBILE");
return 1;
}
diff --git a/src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c b/src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c
index 3b4b64c3d8..c2c8087b78 100644
--- a/src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c
+++ b/src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c
@@ -479,7 +479,7 @@ int i915lightup_sandy(const struct i915_gpu_controller_info *info,
/* Linux relies on VBT for panel info. */
generate_fake_intel_oprom(info, dev_find_slot(0, PCI_DEVFN(2, 0)),
- "$VBT SNB/IVB-MOBILE ");
+ "$VBT SNB/IVB-MOBILE");
return 1;
}
diff --git a/src/northbridge/intel/x4x/gma.c b/src/northbridge/intel/x4x/gma.c
index 2679026937..a98a1dc575 100644
--- a/src/northbridge/intel/x4x/gma.c
+++ b/src/northbridge/intel/x4x/gma.c
@@ -177,7 +177,7 @@ static void native_init(struct device *dev)
}
/* 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)