coreboot/src/ec
Bernardo Perez Priego 1d8568c914 ec/google/wilco: Set minimum UCSI_ACPI region length
IMD provides support for small and large allocations. Region IMD Small memory is 1 KB
with 32 Bytes alignment, this region holds smaller entries without having to reserve a
whole 4 KB page. Remaining space is assigned to IMD Large to hold various regions with
4 KB alignment.

The UCSI kernel (kernel version 4.19) driver maps the UCSI_ACPI memory as not cached.
Cache mapping is set on page boundaries and all IMD Small is within the same page.
If another driver maps the memory as write-back before the UCSI driver is loaded then
the UCSI driver will fail to map the memory as not cached.

Placing UCSI_ACPI in IMD Large region will prevent this mapping issue since it will
now be located within its own page. This patch will force UCSI_ACPI region to be
located in IMD Large region.

BUG=b:144826008

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
Change-Id: Id00e76dca240279773a95c8054831e05df390664
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38414
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-01-18 11:19:49 +00:00
..
acpi src: Conditionally include TEVT 2019-12-17 13:10:27 +00:00
compal/ene932 ec/{compal,google,quanta}: Drop wrong _ADR objects 2019-10-25 10:06:45 +00:00
google ec/google/wilco: Set minimum UCSI_ACPI region length 2020-01-18 11:19:49 +00:00
hp/kbc1126 ec/hp/kbc1126: Make firmware offsets user configurable 2019-12-31 15:19:41 +00:00
kontron drivers/pc80/rtc: Separate {get|set}_option() prototypes 2020-01-09 14:37:33 +00:00
lenovo ec/lenovo/h8: Prepend EC log message with *H8* 2020-01-13 00:35:34 +00:00
purism/librem ec/purism: Fix CPU Turbo value (PPCM) set by the EC 2018-03-26 10:25:58 +00:00
quanta ELOG: Avoid some preprocessor use 2019-11-09 10:50:12 +00:00
roda/it8518 devicetree: Remove duplicate chip_ops declarations 2019-08-20 01:31:44 +00:00
smsc/mec1308 src/ec: Drop __PRE_RAM__ and __SMM__ guards 2019-08-20 13:52:14 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00