[U-Boot] [PATCH v4 5/7] dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()
Simon Glass
sjg at chromium.org
Fri Aug 17 12:48:39 UTC 2018
Hi Jean-Jacques,
On 9 August 2018 at 08:17, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> Also add device_find_global_by_ofnode() that also find a device based on
> the OF node, but doesn't probe the device.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
>
> ---
>
> Changes in v4: None
> Changes in v3:
> - new commit
>
> Changes in v2: None
>
> arch/arm/mach-rockchip/rk3188-board-spl.c | 2 +-
> arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +-
> drivers/core/device.c | 19 +++++++++++++------
> include/dm/device.h | 23 +++++++++++++++++++----
> 4 files changed, 34 insertions(+), 12 deletions(-)
Can you please add a test for this? See dm/test/ofnode.c
Regards,
Simon
More information about the U-Boot
mailing list