diff options
Diffstat (limited to 'src/mainboard/dell/latitude_e7240_bdw/bootblock.c')
-rw-r--r-- | src/mainboard/dell/latitude_e7240_bdw/bootblock.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/dell/latitude_e7240_bdw/bootblock.c b/src/mainboard/dell/latitude_e7240_bdw/bootblock.c new file mode 100644 index 0000000000..62f7fc2aa0 --- /dev/null +++ b/src/mainboard/dell/latitude_e7240_bdw/bootblock.c @@ -0,0 +1,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); +} |