hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/firmware/google/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig GOOGLE_FIRMWARE
23 bool "Google Firmware Drivers"
34 default n
....@@ -10,37 +11,31 @@
1011
1112 config GOOGLE_SMI
1213 tristate "SMI interface for Google platforms"
13
- depends on X86 && ACPI && DMI && EFI
14
- select EFI_VARS
14
+ depends on X86 && ACPI && DMI
1515 help
1616 Say Y here if you want to enable SMI callbacks for Google
1717 platforms. This provides an interface for writing to and
18
- clearing the EFI event log and reading and writing NVRAM
18
+ clearing the event log. If CONFIG_EFI is also enabled this
19
+ driver provides an interface for reading and writing NVRAM
1920 variables.
2021
2122 config GOOGLE_COREBOOT_TABLE
22
- tristate
23
- depends on GOOGLE_COREBOOT_TABLE_ACPI || GOOGLE_COREBOOT_TABLE_OF
24
-
25
-config GOOGLE_COREBOOT_TABLE_ACPI
26
- tristate "Coreboot Table Access - ACPI"
27
- depends on ACPI
28
- select GOOGLE_COREBOOT_TABLE
23
+ tristate "Coreboot Table Access"
24
+ depends on HAS_IOMEM && (ACPI || OF)
2925 help
3026 This option enables the coreboot_table module, which provides other
31
- firmware modules to access to the coreboot table. The coreboot table
32
- pointer is accessed through the ACPI "GOOGCB00" object.
27
+ firmware modules access to the coreboot table. The coreboot table
28
+ pointer is accessed through the ACPI "GOOGCB00" object or the
29
+ device tree node /firmware/coreboot.
3330 If unsure say N.
3431
35
-config GOOGLE_COREBOOT_TABLE_OF
36
- tristate "Coreboot Table Access - Device Tree"
37
- depends on OF
32
+config GOOGLE_COREBOOT_TABLE_ACPI
33
+ tristate
3834 select GOOGLE_COREBOOT_TABLE
39
- help
40
- This option enable the coreboot_table module, which provide other
41
- firmware modules to access coreboot table. The coreboot table pointer
42
- is accessed through the device tree node /firmware/coreboot.
43
- If unsure say N.
35
+
36
+config GOOGLE_COREBOOT_TABLE_OF
37
+ tristate
38
+ select GOOGLE_COREBOOT_TABLE
4439
4540 config GOOGLE_MEMCONSOLE
4641 tristate