diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 5ea3e16a8c55..c4f1181c64cd 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1407,6 +1407,16 @@ let # Enable generic kernel watch queues # See https://docs.kernel.org/core-api/watch_queue.html WATCH_QUEUE = yes; + + # Enable coreboot firmware drivers. + # While these are called CONFIG_GOOGLE_*, they apply to coreboot systems in general. + GOOGLE_FIRMWARE = yes; + GOOGLE_CBMEM = whenAtLeast "6.2" module; + GOOGLE_COREBOOT_TABLE = module; + GOOGLE_MEMCONSOLE = module; + GOOGLE_MEMCONSOLE_COREBOOT = module; + GOOGLE_FRAMEBUFFER_COREBOOT = module; + GOOGLE_VPD = module; } // lib.optionalAttrs