aboutsummaryrefslogtreecommitdiff
path: root/cmd/fdt.c
diff options
context:
space:
mode:
authorSimon Glass2022-10-11 09:47:12 -0600
committerSimon Glass2022-10-17 21:17:12 -0600
commitbaf4141079aa18e5f40fcecaa9dabaeaa9437bee (patch)
treea87ca57f4109b30216f8c276f59094f2d5663fb6 /cmd/fdt.c
parentf337fb9ea8b8163e2b5cff7e2691a30d23841f3e (diff)
fdt: Show a message when the working FDT changes
The working FDT is the one which comes from the OS and is fixed up by U-Boot. When the bootm command runs, it sets up the working FDT to be the one it is about to pass to the OS, so that fixups can happen. This seems like an important step, so add a message indicating that the working FDT has changed. This is shown during the running of the bootm command. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/fdt.c')
-rw-r--r--cmd/fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/fdt.c b/cmd/fdt.c
index 6fbd9205d38..4b2dcfec863 100644
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -40,6 +40,7 @@ void set_working_fdt_addr(ulong addr)
{
void *buf;
+ printf("Working FDT set to %lx\n", addr);
buf = map_sysmem(addr, 0);
working_fdt = buf;
env_set_hex("fdtaddr", addr);