Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85874?usp=email )
Change subject: mb/google/fatcat: Enable EC ACPI memmap for Microchip EC ......................................................................
mb/google/fatcat: Enable EC ACPI memmap for Microchip EC
This commit enables ACPI memory mapping for fatcat boards featuring a Microchip Embedded Controller (EC). This allows the operating system to access and read various information from the EC.
The Microchip EC does not directly map these registers to I/O space, necessitating the use of an indirection mechanism for register access.
TEST=/sys/class/power_supply/BAT0/* reports consistent values
Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com
q
Change-Id: I6fb1c2ab1418a9d7afaff07404e0a3dcba1d0eba --- M src/mainboard/google/fatcat/Kconfig 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/85874/1
diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig index 37ba330..3061004 100644 --- a/src/mainboard/google/fatcat/Kconfig +++ b/src/mainboard/google/fatcat/Kconfig @@ -61,11 +61,13 @@
config BOARD_GOOGLE_FATCAT select BOARD_GOOGLE_MODEL_FATCAT + select EC_GOOGLE_CHROMEEC_ACPI_MEMMAP select EC_GOOGLE_CHROMEEC_MEC select MAINBOARD_USES_IFD_EC_REGION
config BOARD_GOOGLE_FATCATISH select BOARD_GOOGLE_MODEL_FATCAT + select EC_GOOGLE_CHROMEEC_ACPI_MEMMAP select EC_GOOGLE_CHROMEEC_MEC select MAINBOARD_USES_IFD_EC_REGION