]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Rename ofnode_get_chosen_prop()
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:43 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commitfe9e66059bbd7de5042e49bb05802bc0da53f51a
tree83895f7de742e7fd0c77cfa0374086f13cd1abda
parent438514b1951ea70ada7f8a29a4cd7df9e3a0e904
dm: core: Rename ofnode_get_chosen_prop()

This function is actually intended to read a string rather than a
property. All of its current callers use it that way. Also there is no way
to return the length of the property from this function.

Rename it to better indicate its purpose, using ofnode_read as the prefix
since this matches most other functions.

Also add some tests which are missing for these functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
board/theobroma-systems/puma_rk3399/puma-rk3399.c
board/xilinx/common/board.c
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c