Re: [U-Boot] [PATCH v3 19/72] dm: core: Add a way to find a device by ofnode

2017-05-24 Thread sjg
Add a function which looks up a device by its node (either in live tree or flat tree). Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/uclass.c| 37 + include/dm/uclass-internal.h | 18 ++ include/d

[U-Boot] [PATCH v3 19/72] dm: core: Add a way to find a device by ofnode

2017-05-18 Thread Simon Glass
Add a function which looks up a device by its node (either in live tree or flat tree). Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/uclass.c| 37 + include/dm/uclass-internal.h | 18 ++ include/d