summaryrefslogtreecommitdiff
path: root/src/mainboard/dell/latitude_e7240_bdw/bootblock.c
blob: 62f7fc2aa0454a99a4da24fab181dde6b4037bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/pci_ops.h>
#include <ec/dell/mec5055/mec5055.h>
#include <southbridge/intel/lynxpoint/pch.h>

void mainboard_config_superio(void)
{
	/* port 0x910 and 0x911 is needed to initialize the EC */
	pci_write_config32(PCH_LPC_DEV, LPC_GEN2_DEC, 0x007c0901);
	mec5055_early_init();
	pci_write_config32(PCH_LPC_DEV, LPC_GEN2_DEC, 0x005c0921);
}