summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-14 18:14:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-09-21 08:04:26 +0000
commit2f60c83f442d7d54a15986811f286eed3f7ecda0 (patch)
treeea055e52450b4cc412f5165515db87de9919ad99 /src/northbridge
parentb8ebeba4a2e42ee04d75712a39b166cb821eeba8 (diff)
downloadcoreboot-2f60c83f442d7d54a15986811f286eed3f7ecda0.tar.xz
nb/intel/sandybridge: Drop unnecessary `gma.h`
It only contains prototypes for the long-gone native graphics init. Tested with BUILD_TIMELESS=1, Lenovo ThinkPad X230 remains identical. Change-Id: I9413abb8e49496ada60dcdf801a1f8a03be38d2e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45360 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/sandybridge/gma.c1
-rw-r--r--src/northbridge/intel/sandybridge/gma.h16
2 files changed, 0 insertions, 17 deletions
diff --git a/src/northbridge/intel/sandybridge/gma.c b/src/northbridge/intel/sandybridge/gma.c
index fee7513492..f75dfda616 100644
--- a/src/northbridge/intel/sandybridge/gma.c
+++ b/src/northbridge/intel/sandybridge/gma.c
@@ -16,7 +16,6 @@
#include "chip.h"
#include "sandybridge.h"
-#include "gma.h"
struct gt_powermeter {
u16 reg;
diff --git a/src/northbridge/intel/sandybridge/gma.h b/src/northbridge/intel/sandybridge/gma.h
deleted file mode 100644
index bbff461406..0000000000
--- a/src/northbridge/intel/sandybridge/gma.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
-#define NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
-
-#include <stdint.h>
-
-struct i915_gpu_controller_info;
-
-int i915lightup_sandy(const struct i915_gpu_controller_info *info, u32 physbase, u16 pio,
- u8 *mmio, u32 lfb);
-
-int i915lightup_ivy(const struct i915_gpu_controller_info *info, u32 physbase, u16 pio,
- u8 *mmio, u32 lfb);
-
-#endif /* NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H */