[PATCH v2 15/32] test: cmd: fdt: Test alias resolution in 'fdt get value'

Simon Glass sjg at chromium.org
Wed Mar 8 23:16:52 CET 2023

The 'fdt' command help contains the following note:
Dereference aliases by omitting the leading '/', e.g. fdt print ethernet0.
Add test for it.

Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
Reviewed-by: Simon Glass <sjg at chromium.org>
Cc: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
V2: Add RB from Simon
 test/cmd/fdt.c | 65 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 45 insertions(+), 20 deletions(-)

Applied to u-boot-dm/next, thanks!

More information about the U-Boot mailing list