[PATCH 16/32] test: cmd: fdt: Test both string and integer arrays in 'fdt get value'

Simon Glass sjg at chromium.org
Wed Mar 1 16:02:15 CET 2023


On Mon, 27 Feb 2023 at 12:55, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> 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 at mailbox.org>
> ---
> Cc: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  test/cmd/fdt.c | 58 ++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 42 insertions(+), 16 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list