coreboot-kgpe-d16/src/soc/intel
Angel Pons a590852313 soc/intel/broadwell/pch/acpi: Fix LPD0 and LPD3 methods
When using references to a FieldUnit, DeRefOf is not used when storing a
value into the referenced FieldUnit, only when reading its value.

Tested on out-of-tree Compal LA-A992P, Linux 5.11.15-arch1-2 no longer
spews errors like these in dmesg:

 ACPI Error: Needed type [Reference], found [Integer] 000000006cbcc5d8 (20201113/exresop-66)
 ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [And] (20201113/dswexec-431)
 ACPI Error: Aborting method \_SB.PCI0.LPD0 due to previous error (AE_AML_OPERAND_TYPE) (20201113/psparse-529)
 ACPI Error: Aborting method \_SB.PCI0.I2C0._PS0 due to previous error (AE_AML_OPERAND_TYPE) (20201113/psparse-529)

Change-Id: I60c40452f8b5bdbec76264b578957396de8676ea
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52519
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2021-04-21 14:22:19 +00:00
..
alderlake soc/intel/alderlake: Drop unused PrmrrSize from devicetree 2021-04-21 14:21:56 +00:00
apollolake soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
baytrail soc/intel/baytrail/pmutil.c: Define __SIMPLE_DEVICE__ 2021-04-19 10:45:15 +00:00
braswell soc/intel/braswell/pmutil.c: Define __SIMPLE_DEVICE__ 2021-04-19 10:45:06 +00:00
broadwell soc/intel/broadwell/pch/acpi: Fix LPD0 and LPD3 methods 2021-04-21 14:22:19 +00:00
cannonlake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
common soc/intel/alderlake: rename CONFIG_MAX_PCIE_CLOCKS to CONFIG_MAX_PCIE_CLOCK_SRC 2021-04-21 09:19:58 +00:00
denverton_ns soc/intel/dnv_ns: hook up new gpio device operations 2021-04-08 06:49:55 +00:00
elkhartlake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
icelake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
jasperlake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
quark mainboards: Drop PWRS from GNVS 2021-02-11 16:35:32 +00:00
skylake soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
tigerlake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
xeon_sp soc/intel/xeon_sp: Drop unused functions and prototypes 2021-04-21 09:18:09 +00:00
Kconfig fsp2_0: Gather Kconfig declarations 2020-04-05 23:26:24 +00:00