]> Git Repo - J-u-boot.git/commitdiff
boot/Kconfig: Add Video Kconfig as dependency for FDT_SIMPLEFB
authorDevarsh Thakkar <[email protected]>
Wed, 25 Sep 2024 15:13:52 +0000 (20:43 +0530)
committerAnatolij Gustschin <[email protected]>
Tue, 22 Oct 2024 17:52:59 +0000 (19:52 +0200)
The fdt_simplefb.c APIs rely on video-uclass APIs and structures to
fill/update framebuffer information, so compile it only when VIDEO
Kconfig is enabled, as otherwise below warning can be seen if VIDEO
Kconfig is disabled:

"boot/fdt_simplefb.c:96:12: warning: fdt_simplefb_enable_existing_node
defined but not used [-Wunused-function]
96 | static int fdt_simplefb_enable_existing_node(void *blob)"

Reported-by: Mattijs Korpershoek <[email protected]>
Signed-off-by: Devarsh Thakkar <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
boot/Kconfig

index 1ce1da6020c86c8b505158c02bb7f63f6016922b..fe2919f18c4568170d8fb126223bbd565c8b41b1 100644 (file)
@@ -1683,6 +1683,7 @@ config FDT_FIXUP_PARTITIONS
 
 config FDT_SIMPLEFB
        bool "FDT tools for simplefb support"
+       depends on VIDEO
        help
          Enable the fdt tools to manage the simple fb nodes in device tree.
          These functions can be used by board to indicate to the OS
This page took 0.031835 seconds and 4 git commands to generate.