[PATCH v1 6/6] board: lg: star: make panel fix optional

Svyatoslav Ryhel clamor95 at gmail.com
Mon Feb 9 19:32:19 CET 2026


Currently, U-Boot fails with an FDT patching error if the LG Optimus 2X
device tree lacks a panel node. Since the panel is optional hardware,
patching should be optional as well. Fix this by allowing bootflow to
continue if the panel node is missing.

Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
---
 board/lg/star/star.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/board/lg/star/star.c b/board/lg/star/star.c
index 0b4a433a5df..ab700cbe828 100644
--- a/board/lg/star/star.c
+++ b/board/lg/star/star.c
@@ -46,6 +46,8 @@ void pinmux_init(void)
 #if IS_ENABLED(CONFIG_OF_LIBFDT) && IS_ENABLED(CONFIG_OF_BOARD_SETUP)
 int ft_board_setup(void *fdt, struct bd_info *bd)
 {
-	return star_fix_panel(fdt);
+	star_fix_panel(fdt);
+
+	return 0;
 }
 #endif
-- 
2.51.0



More information about the U-Boot mailing list