summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-19 11:23:47 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-08-19 12:43:26 +0800
commit8f0a70e8162e350fa32122ff7bee78ce9178b0cf (patch)
tree16483fac7538dd0f0ccf0ddc4ddb7b9ab59ab02d /include
parent8a681f4c5aa15db51ad0209734859c9fe7c29cfd (diff)
downloadu-boot-8f0a70e8162e350fa32122ff7bee78ce9178b0cf.tar.gz
u-boot-8f0a70e8162e350fa32122ff7bee78ce9178b0cf.tar.xz
u-boot-8f0a70e8162e350fa32122ff7bee78ce9178b0cf.zip
core: ofnode: do not assert if node not valid in ofnode_get_name()
In some case with LIVE DT, some node always not valid, or not have a valid name, eg. blk driver add by mmc. Return fail instead of Assert for this kind of ofnode, and this help with assert happen from time to time when of_live is enabled and DEBUG is enabled. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions