.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | menuconfig GOOGLE_FIRMWARE |
---|
2 | 3 | bool "Google Firmware Drivers" |
---|
3 | 4 | default n |
---|
.. | .. |
---|
10 | 11 | |
---|
11 | 12 | config GOOGLE_SMI |
---|
12 | 13 | tristate "SMI interface for Google platforms" |
---|
13 | | - depends on X86 && ACPI && DMI && EFI |
---|
14 | | - select EFI_VARS |
---|
| 14 | + depends on X86 && ACPI && DMI |
---|
15 | 15 | help |
---|
16 | 16 | Say Y here if you want to enable SMI callbacks for Google |
---|
17 | 17 | 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 |
---|
19 | 20 | variables. |
---|
20 | 21 | |
---|
21 | 22 | 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) |
---|
29 | 25 | help |
---|
30 | 26 | 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. |
---|
33 | 30 | If unsure say N. |
---|
34 | 31 | |
---|
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 |
---|
38 | 34 | 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 |
---|
44 | 39 | |
---|
45 | 40 | config GOOGLE_MEMCONSOLE |
---|
46 | 41 | tristate |
---|