diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-05-17 13:22:57 +0200 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2021-05-20 17:10:01 +0000 |
commit | ed1e25de525fe2649bf5af2b448f7b37e34c54f6 (patch) | |
tree | aa3f9f493ba748831c93fafd676388087f3c3d57 /src/mainboard/asus/p8h61-m_lx/mainboard.c | |
parent | 9d8a4558e30845ff9ae421c551b4fa51dcfeec93 (diff) | |
download | coreboot-ed1e25de525fe2649bf5af2b448f7b37e34c54f6.tar.xz |
mb/asus/p8h61-m_lx: Transform into variant setup
Handle some differences in the DSDT code using preprocessor.
Tested with BUILD_TIMELESS=1, coreboot.rom for the Asus P8H61-M LX
remains identical when not adding the .config file in it.
Change-Id: I2a02f32dfd9fa9c1adce3baf0d279ea19db5883f
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54375
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/mainboard/asus/p8h61-m_lx/mainboard.c')
-rw-r--r-- | src/mainboard/asus/p8h61-m_lx/mainboard.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mainboard/asus/p8h61-m_lx/mainboard.c b/src/mainboard/asus/p8h61-m_lx/mainboard.c deleted file mode 100644 index f0dbc3fc06..0000000000 --- a/src/mainboard/asus/p8h61-m_lx/mainboard.c +++ /dev/null @@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include <device/device.h> -#include <drivers/intel/gma/int15.h> - -static void mainboard_enable(struct device *dev) -{ - install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_NONE, - GMA_INT15_PANEL_FIT_DEFAULT, - GMA_INT15_BOOT_DISPLAY_DEFAULT, 0); -} - -struct chip_operations mainboard_ops = { - .enable_dev = mainboard_enable, -}; |