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)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Feb 2019 05:25:32 +0000 (06:25 +0100)
commit83e4c7e9ffa57fe4116967999c223c952a46a78a
treee02bb6b75e64b116d0d9011a1762e033000004ea
parent003c9dc89176cacc9996f737d08490805e29582e
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