coreboot/src
Jeremy Compostella 5df91230e7 ec/google/chromeec: Enable ACPI memory mapping for Microchip EC
This commit introduces an automatic linkage between the Microchip
EC (EC_GOOGLE_CHROMEEC_MEC) and ACPI memory
mapping (EC_GOOGLE_CHROMEEC_ACPI_MEMMAP) options. This linkage is
enabled when the Microchip EC is selected.

Certain data registers in Microchip ECs cannot be accessed via I/O
space. Instead, an indirection mechanism is required for register
access. When using such an EC, coreboot must publish ACPI information
to access these data registers through ACPI data ports 66h/62h.

Analysis of the coreboot codebase has revealed that the
EC_GOOGLE_CHROMEEC_MEC and EC_GOOGLE_CHROMEEC_ACPI_MEMMAP options are
consistently used together. This commit streamlines this dependency by
linking the two options.

TEST=/sys/class/power_supply/BAT0/* reports consistent values on
     fatcat board.

Change-Id: Ib4120a6d0ba2f4785e8b07b33943010e58bcbdd3
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85886
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-01-09 17:55:43 +00:00
..
acpi acpi/acpigen: generate Create*Field() from name string directly 2024-12-10 02:58:29 +00:00
arch arch/x86: Replace 'unsigned long int' by 'unsigned long' 2025-01-08 02:57:44 +00:00
commonlib Fix up CFR's open issues 2024-12-30 21:27:36 +00:00
console
cpu cpu/x86/64bit: Back up/restore CR3 on mode switch 2025-01-08 08:18:21 +00:00
device device: Fix debug print 2025-01-08 08:18:55 +00:00
drivers drivers/amd/opensil: Add openSIL timepoint calls 2025-01-09 14:45:28 +00:00
ec ec/google/chromeec: Enable ACPI memory mapping for Microchip EC 2025-01-09 17:55:43 +00:00
include cpu/x86/topology: Add module_id to CPU topology 2025-01-07 21:10:04 +00:00
lib drivers/option: Add forms in cbtables 2024-12-18 18:16:51 +00:00
mainboard ec/google/chromeec: Enable ACPI memory mapping for Microchip EC 2025-01-09 17:55:43 +00:00
northbridge haswell NRI: Post-process selected timings 2024-12-10 09:38:00 +00:00
sbom
security drivers/pc80/tpm: Remove flag TPM_RDRESP_NEED_DELAY 2024-10-14 15:26:11 +00:00
soc drivers/amd/opensil: Add openSIL timepoint calls 2025-01-09 14:45:28 +00:00
southbridge Treewide: Remove unused header files 2024-11-30 04:44:06 +00:00
superio superio/ite: Add support for IT8625E 2024-11-21 15:49:12 +00:00
vendorcode vendorcode/amd/opensil/genoa_poc/ramstage.c: Fix log typos 2025-01-07 16:20:40 +00:00
Kconfig