diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2016-09-08 07:52:03 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-12 22:41:45 +0200 |
commit | 9d18e330fd2e6a3f9daf31f2111f82af0dd3c78d (patch) | |
tree | 23f3f1114bb6bd5cecf66708d213b49cad636ecf /src/mainboard/siemens/mc_bdx1 | |
parent | 6e8b3c11105682e58ccb0574148654adecc532f7 (diff) | |
download | coreboot-9d18e330fd2e6a3f9daf31f2111f82af0dd3c78d.tar.xz |
siemens/mc_bdx1: Enable decoding for COM 3 & COM 4 on LPC
Since this mainboard provides 4 COM ports on LPC, enable decoding of
the corresponding addresses using the generic LPC decode registers.
Change-Id: I0e93d40dca01d55f3567a18c7ec02269e3bec466
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/16535
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/siemens/mc_bdx1')
-rw-r--r-- | src/mainboard/siemens/mc_bdx1/mainboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_bdx1/mainboard.c b/src/mainboard/siemens/mc_bdx1/mainboard.c index 8a5226b09f..fe35fe1c14 100644 --- a/src/mainboard/siemens/mc_bdx1/mainboard.c +++ b/src/mainboard/siemens/mc_bdx1/mainboard.c @@ -33,6 +33,7 @@ #include <i210.h> #include <soc/pci_devs.h> #include <soc/irq.h> +#include <soc/lpc.h> #define MAX_PATH_DEPTH 12 #define MAX_NUM_MAPPINGS 10 @@ -102,6 +103,10 @@ static void mainboard_init(void *chip_info) actl &= ~SCIS_MASK; actl |= SCIS_IRQ10; pci_write_config8(dev, ACPI_CNTL_OFFSET, actl); + + /* Enable additional I/O decoding ranges on LPC for COM 3 and COM 4 */ + pci_write_config32(dev, LPC_GEN1_DEC, 0x1C02E9); + pci_write_config32(dev, LPC_GEN2_DEC, 0x1C03E9); } static void mainboard_final(void *chip_info) |