diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-05-04 19:10:50 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2017-05-21 16:39:30 +0200 |
commit | 93eac6a89d6aa4367436610a690c5aa0f040fc3a (patch) | |
tree | 946e77fa399a0e57553c2358561e81ebe069b2d0 /src/mainboard/lenovo/t520 | |
parent | c670a41ca717aefced613aa304da0e95ae4f2a27 (diff) | |
download | coreboot-93eac6a89d6aa4367436610a690c5aa0f040fc3a.tar.xz |
mb/lenovo/*/romstage: Remove COM IO port
All those boards do not have a serial port.
Don't attempt to decode the COMA/COMB IO range.
Change-Id: Ide7e818f87e70e3f559d0769ccde89c35da961d6
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/19571
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo/t520')
-rw-r--r-- | src/mainboard/lenovo/t520/romstage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/t520/romstage.c b/src/mainboard/lenovo/t520/romstage.c index fd17f21292..f84bc0de6b 100644 --- a/src/mainboard/lenovo/t520/romstage.c +++ b/src/mainboard/lenovo/t520/romstage.c @@ -41,15 +41,12 @@ void pch_enable_lpc(void) /* T520 EC Decode Range Port60/64, Port62/66 */ /* Enable EC, PS/2 Keyboard/Mouse */ pci_write_config16(PCH_LPC_DEV, LPC_EN, - CNF2_LPC_EN | CNF1_LPC_EN | MC_LPC_EN | KBC_LPC_EN | - COMA_LPC_EN); + CNF2_LPC_EN | CNF1_LPC_EN | MC_LPC_EN | KBC_LPC_EN); pci_write_config32(PCH_LPC_DEV, LPC_GEN1_DEC, 0x7c1601); pci_write_config32(PCH_LPC_DEV, LPC_GEN2_DEC, 0xc15e1); pci_write_config32(PCH_LPC_DEV, LPC_GEN4_DEC, 0x0c06a1); - pci_write_config16(PCH_LPC_DEV, LPC_IO_DEC, 0x10); - pci_write_config32(PCH_LPC_DEV, ETR3, 0x10000); } |