mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 07:37:54 +00:00
The driver for coreboot firmware-initialized framebuffer can be built as a module. Debian kernels so far have it as built-in because they would not be probed automatically when built as a module. This is fixed now, likely with a patchset included in v6.9-rc1, so we might encounter it as a module either in Debian or with custom-built kernels. For MODULES=dep, check for the coreboot framebuffer in a different block from other platform drivers, and include the framebuffer_coreboot module if we find the device. For MODULES=most, add driver to the framebuffer modules list. Explicitly try to probe the module for break=top because it would not automatically probe there otherwise. Since it requires a driver for the "simple-framebuffer" device, add simpledrm and simplefb as its hidden dependencies. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>