]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dm: core: Introduce dev_read_alias_highest_id()
authorMichal Simek <michal.simek@xilinx.com>
Thu, 31 Jan 2019 15:30:59 +0000 (16:30 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2019 08:42:59 +0000 (09:42 +0100)
commit6f225cd4d2d40652ee9802a26be5209a1fe3970e
tree2b6646d79a71820c664027aa24b4459eb70f60eb
parent4e1b5d653c42adbd80e9f0ac70fbccd57dea1f5a
dm: core: Introduce dev_read_alias_highest_id()

It is wrapper for calling of_alias_get_highest_id() when live tree is
enabled and fdtdec_get_alias_highest_id() if not.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/read.c
include/dm/read.h