[v3,21/26] boot: fdt_simplefb: add a debug message

Message ID 20261202102716.572884-22-dario.binacchi@amarulasolutions.com
State New
Headers
Series Support display on the BSH SMM S2/PRO boards |

Commit Message

Dario Binacchi Dec. 2, 2026, 10:26 a.m. UTC
The printed information is useful when adding support for the simple
frame buffer to a board.

Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---

(no changes since v1)

 boot/fdt_simplefb.c | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c
index 69c7c2e24c03..73ab29e29e9e 100644
--- a/boot/fdt_simplefb.c
+++ b/boot/fdt_simplefb.c
@@ -58,6 +58,8 @@  static int fdt_simplefb_configure_node(void *blob, int off)
 		return -EINVAL;
 	}
 
+	debug("Simple frame buffer at 0x%lx, pixels %dx%d, format %s\n",
+	      fb_base, xsize, ysize, name);
 	return fdt_setup_simplefb_node(blob, off, fb_base, xsize, ysize,
 				       xsize * (1 << bpix) / 8, name);
 }