board: lg: star: make panel fix optional

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@gmail.com>
This commit is contained in:
Svyatoslav Ryhel
2026-03-22 14:58:58 +02:00
parent 670915a86e
commit 67ef43b491
+3 -1
View File
@@ -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