diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-04-09 20:26:40 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2020-12-28 21:30:33 +0800 |
commit | ab0dc016e2ac449b64e064812123d6d4bb0d29f9 (patch) | |
tree | 5af08505ae4e761214180903e525f36eec6296c4 /src/mainboard/dell/latitude_e7240/bootblock.c | |
parent | 37c1822ba1a1d98c81270ab3b708ed57d1c6c88a (diff) | |
download | coreboot-ab0dc016e2ac449b64e064812123d6d4bb0d29f9.tar.xz |
mainboard: add Dell Latitude E7240
Based on autoport output.
It boots from USB and mSATA with SeaBIOS.
Change-Id: I6933bdbcc8d0bbb85d62657624740266284ac71c
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Diffstat (limited to 'src/mainboard/dell/latitude_e7240/bootblock.c')
-rw-r--r-- | src/mainboard/dell/latitude_e7240/bootblock.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/dell/latitude_e7240/bootblock.c b/src/mainboard/dell/latitude_e7240/bootblock.c new file mode 100644 index 0000000000..62f7fc2aa0 --- /dev/null +++ b/src/mainboard/dell/latitude_e7240/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); +} |