]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: spl-boot-order: show DT path for missing device
authorChristopher Obbard <chris.obbard@collabora.com>
Thu, 14 Mar 2024 11:57:55 +0000 (11:57 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:03 +0000 (15:47 +0800)
commit50ac349d0bddbc7cd2da1b3be3819ab79861a06d
tree53937d2e3a22ffab0939254ca66c484ebdc41cc7
parent6f29ce00b3a983962b28fe615754bb92f1d85c7f
rockchip: spl-boot-order: show DT path for missing device

When debugging the SPL boot order, the node ID of a device which hasn't
been found is printed but it can be quite hard to relate that to the
specific devicetree node. To aid debugging, print the node path instead of
the cryptic node ID.

Original debug message:

    board_boot_order: could not map node @73c to a boot-device

With this patch applied this becomes e.g:

   board_boot_order: could not map node /spi@ff1d0000/flash@0 to a boot-device

Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
arch/arm/mach-rockchip/spl-boot-order.c