]> git.baikalelectronics.ru Git - uboot.git/commit
test: cmd: fdt: Test both string and integer arrays in 'fdt get value'
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 2 Mar 2023 03:08:29 +0000 (04:08 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:57 +0000 (11:40 -0800)
commit04b45148e16be8f56f24afdb6c27b65dd9d43660
treeeee3e6ff30a7c88cd86e05c26ad9a4dfdf1dc7af
parentc68be87fe1b15c194648b7bf417a3027ba3ccb0b
test: cmd: fdt: Test both string and integer arrays in 'fdt get value'

The 'fdt get value' subcommand now supports extraction of integer value
from integer arrays, add test for it, including a test for special case
unindexed integer array read, which is handled as hash and treated as a
long string instead of integer.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/cmd/fdt.c