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>
This commit is contained in:
Mario Scheithauer 2017-06-12 14:52:40 +02:00 committed by Werner Zeh
parent 7daac91236
commit a00d84536b
1 changed files with 4 additions and 0 deletions

View File

@ -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)