coreboot-kgpe-d16/src
Wonkyu Kim 84b4882b99 soc/intel/tigerlake: Configure L1Substates for PCH Root ports
Set value for PcieRpL1Substates according to devicetree.

Chip config parameter PcieRpL1Substates uses (UPD value + 1)
because UPD value of 0 for PcieRpL1Substates means disabled for FSP.
In order to ensure that mainboard setting does not disable L1 substates
incorrectly, chip config parameter values are offset by 1 with 0 meaning
use FSP UPD default.

get_l1_substate_control() ensures that the right UPD value is set in
fsp_params.

Chip config parameter values
0: Use FSP UPD default
1: Disable L1 substates
2: Use L1.1
3: Use L1.2 (FSP UPD default)

BUG=none
BRANCH=none
TEST=Boot up and check FSP log for PCIe config for this values

Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
Change-Id: I66743a29ad182bd49b501ae73b79270a9eb88450
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39412
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-03-12 07:40:11 +00:00
..
acpi src/acpi: Update license headers to SPDX 2020-01-02 14:49:00 +00:00
arch src: Remove unneeded 'include <arch/cache.h>' 2020-03-10 20:39:50 +00:00
commonlib commonlib/cbfs.c: Remove unused macro 2020-03-11 14:36:45 +00:00
console treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
cpu prog_loaders: Remove CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING 2020-03-11 12:32:24 +00:00
device treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
drivers vboot: remove extraneous vboot_recovery_mode_memory_retrain 2020-03-12 07:39:47 +00:00
ec ec/google/chromeec: Fix dev ops for chromeec 2020-03-06 08:06:02 +00:00
include prog_loaders: Remove CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING 2020-03-11 12:32:24 +00:00
lib prog_loaders: Remove CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING 2020-03-11 12:32:24 +00:00
mainboard mb/google/dedede: Add ACPI configuration for USB ports 2020-03-11 19:58:06 +00:00
northbridge intel/i945: Call fixup_i945_errata() only for mobile version 2020-03-11 14:25:46 +00:00
security vboot: remove extraneous vboot_recovery_mode_memory_retrain 2020-03-12 07:39:47 +00:00
soc soc/intel/tigerlake: Configure L1Substates for PCH Root ports 2020-03-12 07:40:11 +00:00
southbridge sb/intel/common/firmware/Makefile.inc: use ifdtool --output flag 2020-03-06 07:53:04 +00:00
superio superio/nuvoton/nct5539d: Update documentation and remove DSDT 2020-03-11 15:03:39 +00:00
vendorcode vendorcode/intel/fsp/fsp2_0/tgl: Update FSP header for Tiger Lake 2020-03-09 08:07:21 +00:00
Kconfig Kconfig: Have GDB_STUB depend on DRIVERS_UART 2020-03-03 07:45:23 +00:00