Kconfig 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menuconfig GOOGLE_FIRMWARE
  3. bool "Google Firmware Drivers"
  4. default n
  5. help
  6. These firmware drivers are used by Google servers,
  7. Chromebooks and other devices using coreboot firmware.
  8. If in doubt, say "N".
  9. if GOOGLE_FIRMWARE
  10. config GOOGLE_SMI
  11. tristate "SMI interface for Google platforms"
  12. depends on X86 && ACPI && DMI
  13. help
  14. Say Y here if you want to enable SMI callbacks for Google
  15. platforms. This provides an interface for writing to and
  16. clearing the event log. If CONFIG_EFI is also enabled this
  17. driver provides an interface for reading and writing NVRAM
  18. variables.
  19. config GOOGLE_COREBOOT_TABLE
  20. tristate "Coreboot Table Access"
  21. depends on HAS_IOMEM && (ACPI || OF)
  22. help
  23. This option enables the coreboot_table module, which provides other
  24. firmware modules access to the coreboot table. The coreboot table
  25. pointer is accessed through the ACPI "GOOGCB00" object or the
  26. device tree node /firmware/coreboot.
  27. If unsure say N.
  28. config GOOGLE_COREBOOT_TABLE_ACPI
  29. tristate
  30. select GOOGLE_COREBOOT_TABLE
  31. config GOOGLE_COREBOOT_TABLE_OF
  32. tristate
  33. select GOOGLE_COREBOOT_TABLE
  34. config GOOGLE_MEMCONSOLE
  35. tristate
  36. depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
  37. config GOOGLE_MEMCONSOLE_X86_LEGACY
  38. tristate "Firmware Memory Console - X86 Legacy support"
  39. depends on X86 && ACPI && DMI
  40. select GOOGLE_MEMCONSOLE
  41. help
  42. This option enables the kernel to search for a firmware log in
  43. the EBDA on Google servers. If found, this log is exported to
  44. userland in the file /sys/firmware/log.
  45. config GOOGLE_FRAMEBUFFER_COREBOOT
  46. tristate "Coreboot Framebuffer"
  47. depends on FB_SIMPLE
  48. depends on GOOGLE_COREBOOT_TABLE
  49. help
  50. This option enables the kernel to search for a framebuffer in
  51. the coreboot table. If found, it is registered with simplefb.
  52. config GOOGLE_MEMCONSOLE_COREBOOT
  53. tristate "Firmware Memory Console"
  54. depends on GOOGLE_COREBOOT_TABLE
  55. select GOOGLE_MEMCONSOLE
  56. help
  57. This option enables the kernel to search for a firmware log in
  58. the coreboot table. If found, this log is exported to userland
  59. in the file /sys/firmware/log.
  60. config GOOGLE_VPD
  61. tristate "Vital Product Data"
  62. depends on GOOGLE_COREBOOT_TABLE
  63. help
  64. This option enables the kernel to expose the content of Google VPD
  65. under /sys/firmware/vpd.
  66. endif # GOOGLE_FIRMWARE