diff options
author | Mario Scheithauer <mario.scheithauer@siemens.com> | 2017-06-12 14:52:40 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2017-06-13 15:25:59 +0200 |
commit | a00d84536be8f870da9e350bb375c1e4cccfde7c (patch) | |
tree | d406cf99bde115584c90bee2aec37576bbf010db | |
parent | 7daac912367c4b308038ae56f78c0a07e8a03082 (diff) |
siemens/mc_apl1: Enable decoding for COM 3 on LPC
Since this mainboard provides 3 COM ports on LPC, enable decoding of the
corresponding address range for COM 3.
Change-Id: I15c0748fce67eef46401c314f441aa45f5e3c5fa
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/20162
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r-- | src/mainboard/siemens/mc_apl1/mainboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c index a15daa913c..2d8a080d54 100644 --- a/src/mainboard/siemens/mc_apl1/mainboard.c +++ b/src/mainboard/siemens/mc_apl1/mainboard.c @@ -17,6 +17,7 @@ #include <device/pci.h> #include <device/device.h> #include <console/console.h> +#include <soc/lpc.h> #include <soc/pci_devs.h> #include <string.h> #include <hwilib.h> @@ -109,6 +110,9 @@ static void mainboard_init(void *chip_info) pads = brd_gpio_table(&num); gpio_configure_pads(pads, num); + + /* Enable additional I/O decoding range on LPC for COM 3 */ + lpc_open_pmio_window(0x3e8, 8); } static void mainboard_final(void *chip_info) |