coreboot/src/mainboard
Angel Pons 436f1c471a mb/siemens/mc_apl*: Enable early PCI bridge before FSP-M
Apollo Lake seems to start with PCIe root ports unusable/uninitialized
before FspMemoryInit() is called and FSP-M properly initializes these
root ports.

However, we need the root ports accessible before FspMemoryInit() in
certain cases, such as emitting POST codes through a PCIe device.

For the initialization to happen properly, certain register writes
specified in Apollo Lake IAFW BIOS spec, vol. 2 (#559811), chapter
3.3.1 have to be done.

BUG=none
TEST=Boot on siemens/mc_apl2 with NC_FPGA_POST_CODE enabled and check
that the POST codes are emitted before FspMemoryInit().

Change-Id: If782bfdd5f499dd47c085a0a16b4b15832bc040e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68223
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-10-22 16:39:05 +00:00
..
51nb mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
acer mb/*/{device,override}tree: Set touchpads to use detect (vs probed) flag 2022-09-09 03:38:19 +00:00
adlink
amd mb/google/skyrim/port_descriptors: update DDI for MDN and Chausie 2022-10-21 14:45:11 +00:00
aopen mb/aopen/dxplplusu/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax 2022-06-09 09:23:40 +00:00
apple src/mb: Update unlicensable files with the CC-PDDC SPDX ID 2022-08-13 19:25:12 +00:00
asrock mb/asrock/*/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:27:05 +00:00
asus mb/asus/f2a85-m/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:27:30 +00:00
bap mb/bap/ode_e20XX/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:28:57 +00:00
biostar mb/biostar/a68n_5200/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:29:20 +00:00
bostentech mb/**/dsdt.asl: Drop misleading "OEM revision" comment 2022-08-16 13:33:47 +00:00
cavium mb/*: Specify type of FMDFILE once 2021-07-26 14:06:57 +00:00
clevo mb/*/{device,override}tree: Set touchpads to use detect (vs probed) flag 2022-09-09 03:38:19 +00:00
compulab sb/intel: Use bool for PCIe coalescing option 2022-01-04 11:48:19 +00:00
dell mb/**/hda_verb.c: Drop empty files 2022-08-23 14:04:47 +00:00
elmex mb/elmex/pcm205400/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:29:36 +00:00
emulation payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-10-13 19:14:57 +00:00
example
facebook mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
foxconn src/mb: Update unlicensable files with the CC-PDDC SPDX ID 2022-08-13 19:25:12 +00:00
getac cpu/intel/speedstep: Constify get_cst_entries() 2021-10-19 15:00:01 +00:00
gigabyte mb/gigabyte/ga-h61m-series: Add GA-H61M-DS2 2022-10-21 19:05:40 +00:00
gizmosphere mb/gizmosphere/*/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:28:17 +00:00
google mb/google/nissa: Disable SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY 2022-10-22 01:53:57 +00:00
hp mb/hp/z220_series: Add missing PCI Interrupt Routing Table 2022-10-13 13:19:59 +00:00
ibase mb/ibase/mb899: Drop _PRS and _DIS from static devices 2022-04-20 10:05:43 +00:00
intel mb/intel/adlrvp_n: Disable the External 1.05v VR in S0 2022-09-30 13:16:13 +00:00
jetway mb/jetway/nf81-t56n-lf/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:30:19 +00:00
kontron mb/kontron/bsl6: Set board type to mobile for memory config 2022-10-06 18:26:07 +00:00
lenovo mb/lenovo/*/mainboard.c: Clean up includes 2022-10-22 01:53:36 +00:00
libretrend mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
lippert mb/lippert/frontrunner-af/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:29:54 +00:00
msi mb/msi/ms7d25: Populate SMBIOS product name based on CNVi presence 2022-10-04 06:35:25 +00:00
ocp mb/ocp/deltalake: Clean up includes 2022-10-17 13:42:01 +00:00
opencellular tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
packardbell src/mb: Add SPDX identifiers to files missing them 2022-08-11 17:52:19 +00:00
pcengines mb/pcengines/apu{1,2}/irq_tables.c: Use ALIGN_UP macro 2022-09-12 15:27:51 +00:00
pine64 mb/*: Specify type of MAINBOARD_PART_NUMBER once 2021-07-26 14:05:29 +00:00
portwell mb/**/dsdt.asl: Drop misleading "OEM revision" comment 2022-08-16 13:33:47 +00:00
prodrive mb/prodrive/hermes: Allow using the Intel iGPU as primary 2022-10-20 14:49:36 +00:00
protectli mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
purism purism/librem_cnl: Add Kconfig to enable Mini UART 2022-10-20 14:50:15 +00:00
razer mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
roda src/mb: Update unlicensable files with the CC-PDDC SPDX ID 2022-08-13 19:25:12 +00:00
samsung src/mb: Update unlicensable files with the CC-PDDC SPDX ID 2022-08-13 19:25:12 +00:00
sapphire src/mb: Update unlicensable files with the CC-PDDC SPDX ID 2022-08-13 19:25:12 +00:00
scaleway mb/**/dsdt.asl: Drop misleading "OEM revision" comment 2022-08-16 13:33:47 +00:00
siemens mb/siemens/mc_apl*: Enable early PCI bridge before FSP-M 2022-10-22 16:39:05 +00:00
sifive device/resource: Add _kb postfix for resource allocators 2022-06-22 12:30:15 +00:00
starlabs mb/starlabs/lite/{glk,glkr}: Enable PMC 2022-10-15 22:34:40 +00:00
supermicro mb/supermicro/x9sae: Add full NCT6776 support 2022-10-17 13:43:50 +00:00
system76 mb/*/*/gpio.h: Remove unused <soc/gpe.h> 2022-10-17 13:40:55 +00:00
ti arch/arm64,arm: Prepare for !SEPARATE_ROMSTAGE 2022-07-20 20:28:39 +00:00
up mb/**/dsdt.asl: Drop misleading "OEM revision" comment 2022-08-16 13:33:47 +00:00
Kconfig mb/*: Specify type of VARIANT_DIR once 2021-07-26 14:07:38 +00:00