mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-15 17:23:42 +09:00
0a6b75f7d8
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> |
||
---|---|---|
.. | ||
platform_data | ||
acpi.h | ||
device_compat.h | ||
device-internal.h | ||
device.h | ||
devres.h | ||
fdtaddr.h | ||
lists.h | ||
of_access.h | ||
of_addr.h | ||
of_extra.h | ||
of.h | ||
ofnode.h | ||
pci.h | ||
pinctrl.h | ||
platdata.h | ||
read.h | ||
root.h | ||
test.h | ||
uclass-id.h | ||
uclass-internal.h | ||
uclass.h | ||
util.h |