summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Robinson <[email protected]>2026-02-09 12:55:47 +0000
committerPeter Robinson <[email protected]>2026-03-12 12:02:59 +0000
commit7d5d8400fa5d7e61a5abd131770bc853237baf38 (patch)
treed9769e3bb985976ffe23edcc3e2417ee008705b0
parent5fa0237c834d9c8ab1df084d446643928e0b5bc0 (diff)
rpi: pass the Video Core logs DT parameter through
Pass the VC logs DT parameter through to the kernel device tree. This is used by the vclog tool and is a useful debugging tool. Signed-off-by: Peter Robinson <[email protected]> Acked-by: Matthias Brugger <[email protected]>
-rw-r--r--board/raspberrypi/rpi/rpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index f9b643555dd..7256d66a9a6 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -608,6 +608,9 @@ void update_fdt_from_fw(void *fdt, void *fw_fdt)
/* warnings from the firmware (if any) */
copy_property(fdt, fw_fdt, "/chosen", "user-warnings");
+ /* firmware logs - used by the vclog utility */
+ copy_property(fdt, fw_fdt, "/chosen", "log");
+
/* address of the PHY device as provided by the firmware */
copy_property(fdt, fw_fdt, "ethernet0/mdio@e14/ethernet-phy@1", "reg");