]> git.baikalelectronics.ru Git - uboot.git/commit
test: cmd: fdt: Test alias resolution in 'fdt get value'
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 2 Mar 2023 03:08:28 +0000 (04:08 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:57 +0000 (11:40 -0800)
commitc68be87fe1b15c194648b7bf417a3027ba3ccb0b
treec572e550b5aaddaf78e942e2acbc7fed75d3e8e5
parentb6d30dae9fdadc314b4df4fe5e1aca9254dfa73c
test: cmd: fdt: Test alias resolution in 'fdt get value'

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@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/cmd/fdt.c