aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/bootblock
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-06-02 11:28:43 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-06-20 12:02:35 +0000
commit7a82a805b8b33d97e5208ed74ecf33803f07c736 (patch)
tree8528e5bd9d50064e96391fd72e6d9369b3ddd4f4 /src/soc/intel/apollolake/bootblock
parentd6fb425ca69ae3c36e18c4be5c2a44f9b4fbdcf2 (diff)
soc/intel/apollolake: Allow configuring the LPC IO registers
Allow configuring the LPC IO registers in the devicetree with: * gen1_dec * gen2_dec * gen3_dec * gen4_dec Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I2a7ab3faf927cda76640227feff4e19017442897 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64889 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/apollolake/bootblock')
-rw-r--r--src/soc/intel/apollolake/bootblock/bootblock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c
index 00c47f3d28..c9b6d93d50 100644
--- a/src/soc/intel/apollolake/bootblock/bootblock.c
+++ b/src/soc/intel/apollolake/bootblock/bootblock.c
@@ -102,6 +102,9 @@ void bootblock_soc_early_init(void)
/* IO Decode Enable */
lpc_enable_fixed_io_ranges(io_enables);
+ /* Program generic IO Decode Range */
+ pch_enable_lpc();
+
if (CONFIG(TPM_ON_FAST_SPI))
tpm_enable();