summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne/early_fch.c
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-01-26 18:30:18 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-02-09 20:41:03 +0000
commit3da5569488bd6155be96ec57e1a477623a21b176 (patch)
tree7588b40921929ca588b9939a1c00d9277309b851 /src/soc/amd/cezanne/early_fch.c
parent6e2f5f2ee73fb1034ad342d3a2df705ec4ab9d4b (diff)
downloadcoreboot-3da5569488bd6155be96ec57e1a477623a21b176.tar.gz
coreboot-3da5569488bd6155be96ec57e1a477623a21b176.tar.bz2
coreboot-3da5569488bd6155be96ec57e1a477623a21b176.zip
soc/amd/cezanne: Enable early LPC support in bootblock stage
Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I739d97ddc5afd84a4bbc7e505b423158eb820767 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49929 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne/early_fch.c')
-rw-r--r--src/soc/amd/cezanne/early_fch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/early_fch.c b/src/soc/amd/cezanne/early_fch.c
index 37ba4c7a1a5e..8353cb155eb8 100644
--- a/src/soc/amd/cezanne/early_fch.c
+++ b/src/soc/amd/cezanne/early_fch.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/acpimmio.h>
+#include <amdblocks/lpc.h>
#include <amdblocks/smbus.h>
#include <console/console.h>
#include <soc/southbridge.h>
@@ -9,6 +10,8 @@
/* Before console init */
void fch_pre_init(void)
{
+ lpc_early_init();
+
enable_acpimmio_decode_pm04();
fch_smbus_init();
fch_enable_cf9_io();