Re: [PATCH v7 2/3] dm: core: fix dev_read_alias_highest_id() without libfdt

2020-06-04 Thread Simon Glass
On Mon, 1 Jun 2020 at 17:47, Michael Walle wrote: > > 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

[PATCH v7 2/3] dm: core: fix dev_read_alias_highest_id() without libfdt

2020-06-01 Thread Michael Walle
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: