mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 23:41:50 +00:00
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>
This commit is contained in:
parent
b34849c5ac
commit
c525423e5c
1 changed files with 1 additions and 0 deletions
|
@ -1683,6 +1683,7 @@ config FDT_FIXUP_PARTITIONS
|
||||||
|
|
||||||
config FDT_SIMPLEFB
|
config FDT_SIMPLEFB
|
||||||
bool "FDT tools for simplefb support"
|
bool "FDT tools for simplefb support"
|
||||||
|
depends on VIDEO
|
||||||
help
|
help
|
||||||
Enable the fdt tools to manage the simple fb nodes in device tree.
|
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
|
These functions can be used by board to indicate to the OS
|
||||||
|
|
Loading…
Add table
Reference in a new issue