From 88ff8b541f0981359ce17021e9b41d57c6eb427b Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 21 Nov 2014 17:40:37 +0200 Subject: AGESA fam15tn / fam15rl / fam16kb: Move LPC decode enable for serial port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move LPC decode enable out of agesawrapper.c. It should not be on the execution path of AP CPUs and function is not related to AGESA per se. Change-Id: I19d6a20fbc7a3d28601caa9aaa1d73d6930257ae Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/7602 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) --- src/mainboard/amd/olivehill/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/amd/olivehill/romstage.c') diff --git a/src/mainboard/amd/olivehill/romstage.c b/src/mainboard/amd/olivehill/romstage.c index 0a982b6fe8..1ff7a0b084 100644 --- a/src/mainboard/amd/olivehill/romstage.c +++ b/src/mainboard/amd/olivehill/romstage.c @@ -53,6 +53,10 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) AGESAWRAPPER_PRE_CONSOLE(amdinitmmio); + /* Set LPC decode enables. */ + pci_devfn_t dev = PCI_DEV(0, 0x14, 3); + pci_write_config32(dev, 0x44, 0xff03ffd5); + hudson_lpc_port80(); if (!cpu_init_detectedx && boot_cpu()) { -- cgit v1.2.3