payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / msi / ms7707 / early_init.c
bloba859cd19afc577bdd21c0554aace9abb91b35cf9
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/pci_ops.h>
4 #include <northbridge/intel/sandybridge/raminit_native.h>
5 #include <southbridge/intel/common/pmbase.h>
6 #include <southbridge/intel/bd82x6x/pch.h>
8 void mainboard_pch_lpc_setup(void)
10 u16 reg16;
11 reg16 = pci_read_config16(PCI_DEV(0, 0x1f, 0), 0xa4);
12 reg16 |= (1 << 13); // WOL Enable Override (WOL_EN_OVRD)
13 pci_write_config16(PCI_DEV(0, 0x1f, 0), 0xa4, reg16);
16 const struct southbridge_usb_port mainboard_usb_ports[] = {
17 {1, 0, 0},
18 {1, 0, 0},
19 {1, 0, 1},
20 {1, 0, 1},
21 {1, 0, 2},
22 {1, 0, 2},
23 {1, 0, 3},
24 {1, 0, 3},
25 {1, 0, 4},
26 {1, 0, 4},
27 {1, 0, 6},
28 {1, 0, 5},
29 {1, 0, 5},
30 {1, 0, 6},
33 void mainboard_get_spd(spd_raw_data *spd, bool id_only)
35 read_spd(&spd[0], 0x50, id_only);
36 read_spd(&spd[2], 0x52, id_only);