]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add functions to read 8/16-bit integers
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Tue, 14 Jun 2022 13:21:30 +0000 (15:21 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Sep 2022 19:23:03 +0000 (15:23 -0400)
commitb471bdc47b2acabe0b5fcb0fb40a0b1c0602d3b3
tree63a7b1e3e0d0db6be0aaeea90c57a7a0a8a3d7f9
parent7a0d88076b9cd8ccc88d41383f92ac2494d4168e
dm: core: Add functions to read 8/16-bit integers

Add functions to read 8/16-bit integers like the existing functions for
32/64-bit to simplify read of 8/16-bit integers from device tree
properties.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/of_access.c
drivers/core/ofnode.c
drivers/core/read.c
include/dm/of_access.h
include/dm/ofnode.h
include/dm/read.h
test/dm/test-fdt.c