mbox series

[v1,0/1] rpi: Cleanup conditional compilation of framebuffer

Message ID 20241023131012.2445564-1-martin.stolpe@gmail.com
Headers show
Series rpi: Cleanup conditional compilation of framebuffer | expand

Message

Martin Stolpe Oct. 23, 2024, 1:09 p.m. UTC
If CONFIG_FDT_SIMPLEFB is not set fdt_simplefb.c will not be compiled which results in a compilation error if CONFIG_OF_BOARD_SETUP is enabled. This patch will fix this error by not trying to setup a framebuffer node in this case.


Martin Stolpe (1):
  rpi: Only add frame buffer node if CONFIG_FDT_SIMPLEFB is set

 board/raspberrypi/rpi/rpi.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)