aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-11 09:47:12 -0600
committerSimon Glass <sjg@chromium.org>2022-10-17 21:17:12 -0600
commitbaf4141079aa18e5f40fcecaa9dabaeaa9437bee (patch)
treea87ca57f4109b30216f8c276f59094f2d5663fb6 /cmd
parentf337fb9ea8b8163e2b5cff7e2691a30d23841f3e (diff)
downloadu-boot-baf4141079aa18e5f40fcecaa9dabaeaa9437bee.zip
u-boot-baf4141079aa18e5f40fcecaa9dabaeaa9437bee.tar.gz
u-boot-baf4141079aa18e5f40fcecaa9dabaeaa9437bee.tar.bz2
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')
-rw-r--r--cmd/fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/fdt.c b/cmd/fdt.c
index 6fbd920..4b2dcfe 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);