summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/snb_ivb_laptops/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp/snb_ivb_laptops/mainboard.c')
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/mainboard.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/hp/snb_ivb_laptops/mainboard.c b/src/mainboard/hp/snb_ivb_laptops/mainboard.c
index effba5ea6e..aefe4c0141 100644
--- a/src/mainboard/hp/snb_ivb_laptops/mainboard.c
+++ b/src/mainboard/hp/snb_ivb_laptops/mainboard.c
@@ -18,9 +18,11 @@
static void mainboard_enable(struct device *dev)
{
- install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
- GMA_INT15_PANEL_FIT_DEFAULT,
- GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
+ if (CONFIG(INTEL_INT15)) {
+ install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
+ GMA_INT15_PANEL_FIT_DEFAULT,
+ GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
+ }
}
struct chip_operations mainboard_ops = {