EFI mitigations can't be enabled if EFI is not set 59/head
authorMartin Rowe <cyanidium@users.noreply.github.com>
Tue, 15 Mar 2022 12:38:05 +0000 (12:38 +0000)
committerGitHub <noreply@github.com>
Tue, 15 Mar 2022 12:38:05 +0000 (12:38 +0000)
commit5d1fb1f843bbdf5f643ddb4cdaa604cad1dc9aab
treeeb471abc646b99934151c999939bdb334b50733b
parent860834d93c56279d0362432032883b6c81ae3ef5
EFI mitigations can't be enabled if EFI is not set

Both EFI_DISABLE_PCI_DMA and RESET_ATTACK_MITIGATION depend on EFI, but if EFI is not set, neither config is required.

Useful on embedded devices that use u-boot or similar instead of EFI.
kconfig_hardened_check/__init__.py