Skip to content
  • Simon Glass's avatar
    dm: core: Add a function to bind child devices · cc7f66f7
    Simon Glass authored
    
    
    We currently use dm_scan_fdt_node() to bind devices. It is an internal
    function and it requires the caller to know whether we are pre- or post-
    relocation.
    
    This requirement has become quite common in drivers, so the current function
    is not ideal.
    
    Add a new function with fewer arguments, that does not require internal
    headers. This can be used directly as a post_bind() method if needed.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    cc7f66f7