fdt: Show the type of devicetree with fdt addr
authorSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 20:55:26 +0000 (14:55 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 1 Aug 2021 15:05:24 +0000 (09:05 -0600)
commitb29a0dbdc3de43a8574335bef93d50c659eff2e5
tree138fcffbb6a14e7c9588c40e985d724396f99447
parent0c929631a237be26042b87259c3404d9756a0773
fdt: Show the type of devicetree with fdt addr

It seems useful to show whether the address of the Control or Working
devicetree is being shown. Add support for this. Drop the confusing 0x
prefix since the command itself only accepts hex.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c