mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c2218e26c0
The GOOGLE_SMI Kconfig symbol depends on DMI and selects EFI. This causes problems on other archs when introducing DMI support that depends on EFI, as it results in a recursive dependency: arch/arm/Kconfig:1845:error: recursive dependency detected! arch/arm/Kconfig:1845: symbol DMI depends on EFI Fix by changing the 'select EFI' to a 'depends on EFI'. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: David Rientjes <rientjes@google.com> Acked-by: Mike Waychison <mikew@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
32 lines
904 B
Plaintext
32 lines
904 B
Plaintext
config GOOGLE_FIRMWARE
|
|
bool "Google Firmware Drivers"
|
|
depends on X86
|
|
default n
|
|
help
|
|
These firmware drivers are used by Google's servers. They are
|
|
only useful if you are working directly on one of their
|
|
proprietary servers. If in doubt, say "N".
|
|
|
|
menu "Google Firmware Drivers"
|
|
depends on GOOGLE_FIRMWARE
|
|
|
|
config GOOGLE_SMI
|
|
tristate "SMI interface for Google platforms"
|
|
depends on ACPI && DMI && EFI
|
|
select EFI_VARS
|
|
help
|
|
Say Y here if you want to enable SMI callbacks for Google
|
|
platforms. This provides an interface for writing to and
|
|
clearing the EFI event log and reading and writing NVRAM
|
|
variables.
|
|
|
|
config GOOGLE_MEMCONSOLE
|
|
tristate "Firmware Memory Console"
|
|
depends on DMI
|
|
help
|
|
This option enables the kernel to search for a firmware log in
|
|
the EBDA on Google servers. If found, this log is exported to
|
|
userland in the file /sys/firmware/log.
|
|
|
|
endmenu
|