soc/intel: Configure PAVP at compile-time
Expose configuration of Intel PAVP (Protected Audio-Video Path, a digital rights protection/management (DRM) technology for multimedia content) to Kconfig. Per the FSP default, this was always being enabled previously. Change-Id: I2aae741bb30e3be3c64324cd6334778bd271a903 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
ceeeadb890
commit
bbb8123d66
|
@ -697,6 +697,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
|
|||
dev = pcidev_path_on_root(SA_DEVFN_IGD);
|
||||
silconfig->PeiGraphicsPeimInit = CONFIG(RUN_FSP_GOP) && is_dev_enabled(dev);
|
||||
|
||||
silconfig->PavpEnable = CONFIG(PAVP);
|
||||
|
||||
mainboard_silicon_init_params(silconfig);
|
||||
}
|
||||
|
||||
|
|
|
@ -523,6 +523,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
params->PeiGraphicsPeimInit = 1;
|
||||
else
|
||||
params->PeiGraphicsPeimInit = 0;
|
||||
|
||||
params->PavpEnable = CONFIG(PAVP);
|
||||
}
|
||||
|
||||
/* Mainboard GPIO Configuration */
|
||||
|
|
|
@ -30,6 +30,20 @@ config ACPI_CONSOLE
|
|||
help
|
||||
Provide a mechanism for serial console based ACPI debug.
|
||||
|
||||
config PAVP
|
||||
bool "Enable PAVP (Protected Audio-Video Path) support"
|
||||
default y
|
||||
help
|
||||
Protected Audio-Video Path is an Intel technology used to enforce digital
|
||||
rights protections on multimedia content. Streaming or other media playback
|
||||
services may require it to be enabled for correct functioning.
|
||||
|
||||
Users might disable PAVP if the concept of digital rights management (DRM)
|
||||
offends them, or if they have concerns about the security of
|
||||
the Management Engine, which is where this technology is implemented.
|
||||
|
||||
Set this option to n to disable support.
|
||||
|
||||
config MMA
|
||||
bool "Enable MMA (Memory Margin Analysis) support for Intel Core"
|
||||
default n
|
||||
|
|
|
@ -76,6 +76,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
else
|
||||
params->PeiGraphicsPeimInit = 0;
|
||||
|
||||
params->PavpEnable = CONFIG(PAVP);
|
||||
|
||||
/* Unlock upper 8 bytes of RTC RAM */
|
||||
params->PchLockDownRtcMemoryLock = 0;
|
||||
|
||||
|
|
|
@ -104,6 +104,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
dev = pcidev_path_on_root(SA_DEVFN_IGD);
|
||||
params->PeiGraphicsPeimInit = CONFIG(RUN_FSP_GOP) && is_dev_enabled(dev);
|
||||
|
||||
params->PavpEnable = CONFIG(PAVP);
|
||||
|
||||
/* Use coreboot MP PPI services if Kconfig is enabled */
|
||||
if (CONFIG(USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI))
|
||||
params->CpuMpPpi = (uintptr_t) mp_fill_ppi_services_data();
|
||||
|
|
|
@ -428,6 +428,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
else
|
||||
params->PeiGraphicsPeimInit = 0;
|
||||
|
||||
params->PavpEnable = CONFIG(PAVP);
|
||||
|
||||
soc_irq_settings(params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue