diff options
author | Iru Cai <mytbk920423@gmail.com> | 2021-04-24 21:22:10 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2021-05-21 20:30:32 +0800 |
commit | 35fd3331f471144d40358a85a43529fa5f172075 (patch) | |
tree | d577c4bed65aaa6b55f920149cbe73ed7b612e50 /src/mainboard/hp/820g2/mainboard.c | |
parent | a1a8c2c621a4ae1e093c63e6b1c34b049da5f0b8 (diff) | |
download | coreboot-35fd3331f471144d40358a85a43529fa5f172075.tar.xz |
mb/hp: Add EliteBook 820 G2
It can now boot Arch Linux from SATA and USB.
Change-Id: Id8b3b7f735460c5e76a2dc9ab2d10154e6606ad6
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Diffstat (limited to 'src/mainboard/hp/820g2/mainboard.c')
-rw-r--r-- | src/mainboard/hp/820g2/mainboard.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/hp/820g2/mainboard.c b/src/mainboard/hp/820g2/mainboard.c new file mode 100644 index 0000000000..98cc8110cc --- /dev/null +++ b/src/mainboard/hp/820g2/mainboard.c @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#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_EDP, GMA_INT15_PANEL_FIT_DEFAULT, + GMA_INT15_BOOT_DISPLAY_DEFAULT, 0); +} + +struct chip_operations mainboard_ops = { + .enable_dev = mainboard_enable, +}; |