aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorDevarsh Thakkar <devarsht@ti.com>2024-09-25 20:43:52 +0530
committerAnatolij Gustschin <agust@denx.de>2024-10-22 19:52:59 +0200
commitc525423e5cd66f88237d67071f169ed16df4d1a8 (patch)
tree6f3e8d133c28e57bd2ac611fd591d09bf4ca4775 /boot
parentb34849c5ac6dfbcd1493bf07956f738bfffdbf02 (diff)
downloadu-boot-c525423e5cd66f88237d67071f169ed16df4d1a8.tar.gz
boot/Kconfig: Add Video Kconfig as dependency for FDT_SIMPLEFB
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 <mkorpershoek@baylibre.com> Signed-off-by: Devarsh Thakkar <devarsht@ti.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 1ce1da6020c..fe2919f18c4 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -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