coreboot-kgpe-d16/src
Subrata Banik 32e0673232 soc/intel/common/cse: Rework heci_disable function
This patch provides the possible options for SoC users to choose the
applicable interface to make HECI1 function disable at pre-boot.

`SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_USING_SBI` config is used for
disabling heci1 using non-posted sideband write (inside SMM) after
FSP-S sets the postboot_sai attribute. Applicable from CNL PCH onwards.

`SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_USING_PMC_IPC` config is used for
disabling heci1 using PMC IPC command `0xA9`. Applicable from TGL PCH
onwards.

`SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_USING_PCR` config is used for
disabling heci1 using private configuration register (PCR) write.
Applicable for SoC platform prior to CNL PCH.

Additionally, add PID_CSME0 macro for SKL, Xeon_SP and APL to fix the
compilation failure.

Finally, rename heci_disable() function to heci1_disable() to make it
more meaningful.

BUG=none
TEST=Able to build and boot brya.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I7e0bab0004013b999ec1e054310763427d7b9348
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
2022-02-02 07:09:28 +00:00
..
acpi src: Remove unused <stdbool> 2022-01-19 15:15:50 +00:00
arch arch/riscv: Fix some SMP related headers 2022-01-19 19:29:42 +00:00
commonlib commonlib: Add new "CSME ROM started execution" TS 2022-01-21 22:43:30 +00:00
console lib/cbmem_console,console: Resurrect CONSOLE_CBMEM_DUMP_TO_UART 2022-01-25 16:13:39 +00:00
cpu cpu/x86/smm: Add SMM_LEGACY_ASEG 2022-02-01 20:35:02 +00:00
device src: Add missing 'void' in function definition 2022-01-26 23:57:12 +00:00
drivers drivers/spi/spiconsole.c: Remove unuseful 'return' in void function 2022-02-01 18:05:27 +00:00
ec ec/quanta/ene_kb3940q/ec.c: Remove unuseful 'return' in void function 2022-02-01 18:05:07 +00:00
include cpu/x86/smm: Add SMM_LEGACY_ASEG 2022-02-01 20:35:02 +00:00
lib lib/spd_cache.c: Drop comparison to {true, false} 2022-01-28 17:56:10 +00:00
mainboard mb/google/brya: Remove `mb_gpio_lock_config()` override function 2022-02-02 07:03:33 +00:00
northbridge nb/intel/gm45/raminit.c: Fix indent for 'if' statement 2022-01-31 13:57:34 +00:00
security console/cbmem_console: Rename cbmem_dump_console 2022-01-13 15:25:43 +00:00
soc soc/intel/common/cse: Rework heci_disable function 2022-02-02 07:09:28 +00:00
southbridge cpu/x86/smm: Add SMM_LEGACY_ASEG 2022-02-01 20:35:02 +00:00
superio superio/smsc/lpc47n207/early_serial.c: Fix indent for 'if' statement 2022-01-31 13:56:59 +00:00
vendorcode psp_verstage: add new svc for cezanne 2022-02-01 22:31:56 +00:00
Kconfig Kconfig: Show console DEBUG_FUNC if OVERRIDE_LOGLEVEL is set 2021-11-13 00:20:11 +00:00