firmware: coreboot: framebuffer: Allow building with simpledrm
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Tue, 25 Jul 2023 17:43:33 +0000 (20:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 14:31:32 +0000 (16:31 +0200)
commitdff054e691dae97f177c82cda21918ca0ef974f3
treeacd1c1f8d63850471474aa3e4aa4193e1c8772b9
parent8306d6f35dbde19fe2d56964159fa2b4c6343bc1
firmware: coreboot: framebuffer: Allow building with simpledrm

The coreboot framebuffer driver registers a "simple-framebuffer" device
based on the information from the firmware, after checking that it's
compatible with the formats listed in simplefb.h. It was added before
simpledrm, and its Kconfig marked as dependent on the simplefb driver.

The simpledrm driver can also handle "simple-framebuffer" devices and
the coreboot framebuffer works fine with it on a 'Lick' Chromebook.
Allow building the coreboot framebuffer driver with simpledrm as well.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20230725174334.887485-1-alpernebiyasak@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/Kconfig