]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: fix 'fdt get value'
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 23 Nov 2025 22:57:10 +0000 (23:57 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 14:54:44 +0000 (08:54 -0600)
commit21fbda84b39a64fe74c1e34e4ff6e070a9ba200e
treef3e5cc1282e594d2ea541b51a24868b02babe61c
parentc2ee1e3c4a7924c621f2852713ece0f17495eb08
cmd: fix 'fdt get value'

The 32bit cells of a device-tree property are big-endian. When printing
them via 0x08x we must first convert to the host endianness.

Remove the restriction to 20 bytes length. This would not allow to read an
SHA256 value.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/fdt.c
test/cmd/fdt.c