]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig
authorDevarsh Thakkar <devarsht@ti.com>
Wed, 25 Sep 2024 15:13:53 +0000 (20:43 +0530)
committerAnatolij Gustschin <agust@denx.de>
Tue, 22 Oct 2024 17:54:08 +0000 (19:54 +0200)
CONFIG_VIDEO conditional compilation checks are no longer needed since
FDT_SIMPLEFB Kconfig now depends on VIDEO Kconfig.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/fdt_simplefb.c

index 71b833eb9bd5f20dcbb81a4429de4eab36acf3c4..5822131767d19991a921c8d1eeb5da058a065f76 100644 (file)
@@ -103,7 +103,6 @@ static int fdt_simplefb_enable_existing_node(void *blob)
        return fdt_simplefb_configure_node(blob, off);
 }
 
-#if IS_ENABLED(CONFIG_VIDEO)
 int fdt_simplefb_enable_and_mem_rsv(void *blob)
 {
        int ret;
@@ -118,4 +117,3 @@ int fdt_simplefb_enable_and_mem_rsv(void *blob)
 
        return fdt_add_fb_mem_rsv(blob);
 }
-#endif