[PATCH 2/3] boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig

Devarsh Thakkar devarsht at ti.com
Wed Sep 25 17:13:53 CEST 2024


CONFIG_VIDEO conditional compilation checks are no longer needed since
FDT_SIMPLEFB Kconfig now depends on VIDEO Kconfig.

Signed-off-by: Devarsh Thakkar <devarsht at ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
---
 boot/fdt_simplefb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c
index 53415548459a..fbb67f281a04 100644
--- a/boot/fdt_simplefb.c
+++ b/boot/fdt_simplefb.c
@@ -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
-- 
2.39.1



More information about the U-Boot mailing list