aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-06-02 01:47:08 +0200
committerSimon Glass <sjg@chromium.org>2020-06-11 20:52:11 -0600
commit0a6b75f7d8cbf7edc62c7d132b521703f1e2a53d (patch)
tree0ace158e08376382aaa292ae182f1ec7341fd1bf /test
parentc03b7612ea346ad7454086d1623fb57098faf315 (diff)
downloadu-boot-0a6b75f7d8cbf7edc62c7d132b521703f1e2a53d.zip
u-boot-0a6b75f7d8cbf7edc62c7d132b521703f1e2a53d.tar.gz
u-boot-0a6b75f7d8cbf7edc62c7d132b521703f1e2a53d.tar.bz2
dm: core: fix dev_read_alias_highest_id() without libfdt
If CONFIG_DM_DEV_READ_INLINE is set, dev_read_alias_highest_id() calls libfdt_get_highest_id(). But this function is only available if we have libfdt compiled in. If its not available return -1, which matches the return code for no alias found. This fixes the following error on omapl138_lcdk: arm-linux-gnueabi-ld.bfd: drivers/built-in.o: in function `dev_read_alias_highest_id': /home/mw/repo/u-boot/include/dm/read.h:986: undefined reference to `fdtdec_get_alias_highest_id' Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions