
3 Oct
2019
3 Oct
'19
2:48 p.m.
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass sjg@chromium.org wrote:
These functions cannot work with of-platdata since libfdt is not available. At present when dev_read_...() functions are used it produces error messages about ofnode which is confusing.
Adjust the Makefile and header to produce an error message for the actual dev_read...() function which is called. This makes it easier to see what code needs to be converted for use with of-platdata.
Signed-off-by: Simon Glass sjg@chromium.org
drivers/core/Makefile | 4 +++- include/dm/read.h | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com