Skip to contentSkip to conversation

Kconfig: simple panel requires backlight

PATCH New Marcin Juszkiewicz 2 participants 2 messages Nov 5, 2020 – Jan 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: simple panel requires backlight

During build of simple panel driver backlight is needed so let's enable it:

aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function `simple_panel_set_backlight':
u-boot/drivers/video/simple_panel.c:43: undefined reference to backlight_set_brightness' aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function simple_panel_enable_backlight':
u-boot/drivers/video/simple_panel.c:28: undefined reference to `backlight_enable'

---
 drivers/video/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
video/Kconfig +1 -1
index 998271b9b6..0dd78472d5 100644
@@ -199,7 +199,7 @@ config PANEL
 
 config SIMPLE_PANEL
 	bool "Enable simple panel support"
-	depends on PANEL
+	depends on PANEL && BACKLIGHT
 	default y
 	help
 	  This turns on a simple panel driver that enables a compatible
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 Kconfig: simple panel requires backlight

Quoted 9 lines · Marcin Juszkiewicz

During build of simple panel driver backlight is needed so let's enable it:

aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function `simple_panel_set_backlight':
u-boot/drivers/video/simple_panel.c:43: undefined reference to backlight_set_brightness' aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function simple_panel_enable_backlight':
u-boot/drivers/video/simple_panel.c:28: undefined reference to `backlight_enable'

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/5f8820d1/attachment.sig>