Peter Lemenkov has uploaded this change for review.
mb/lenovo/t440p: Remove mainboard.c
Remove mainboard.c - int15 is only used when coreboot runs VGA option
ROM.
Untested. Please test if possible.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Change-Id: I8c653a1f534c6f1527446de70bfacb777ba7405f
---
M src/mainboard/lenovo/t440p/Kconfig
D src/mainboard/lenovo/t440p/mainboard.c
2 files changed, 0 insertions(+), 17 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/63998/1
diff --git a/src/mainboard/lenovo/t440p/Kconfig b/src/mainboard/lenovo/t440p/Kconfig
index 6c4f7b0..4092b6c 100644
--- a/src/mainboard/lenovo/t440p/Kconfig
+++ b/src/mainboard/lenovo/t440p/Kconfig
@@ -14,7 +14,6 @@
select MEMORY_MAPPED_TPM
select MAINBOARD_HAS_TPM1
select INTEL_GMA_HAVE_VBT
- select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_TPM1
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/lenovo/t440p/mainboard.c b/src/mainboard/lenovo/t440p/mainboard.c
deleted file mode 100644
index e9ff4f5..0000000
--- a/src/mainboard/lenovo/t440p/mainboard.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#include <device/device.h>
-#include <drivers/intel/gma/int15.h>
-#include <ec/lenovo/h8/h8.h>
-
-static void mainboard_enable(struct device *dev)
-{
- install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP,
- GMA_INT15_PANEL_FIT_DEFAULT,
- GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
-}
-
-struct chip_operations mainboard_ops = {
- .enable_dev = mainboard_enable,
-};
To view, visit change 63998. To unsubscribe, or for help writing mail filters, visit settings.