]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Expand integer-reading tests
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:18 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:42 +0000 (22:43 -0400)
commit2acfc42fed5e51d04fa6e558c265ab0d416c2b15
tree382d7c8364b9c1cdbe4a6665410bd2312e1b462f
parentf595d2cfff3401dea52e918a536efb045239d5b4
dm: core: Expand integer-reading tests

The current tests do not cover all the behaviour. Add some more.

Tidy up a few inconsistencies between livetree and flattree which come to
light with these tests. Also drop the -ENODATA error since it is never
actually returned.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/of_access.c
drivers/core/ofnode.c
include/dm/of_access.h
include/dm/ofnode.h
test/dm/ofnode.c