[PATCH v2] dm: core: remove the duplicated function dm_ofnode_pre_reloc
sjg at google.com
sjg at google.com
Fri Apr 10 21:31:01 CEST 2020
On Fri, 3 Apr 2020 at 03:39, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> The content dm_ofnode_pre_reloc() is identical with ofnode_pre_reloc()
> defined in drivers/core/ofnode.c and used only three times:
> - drivers/core/lists.c:lists_bind_fdt()
> - drivers/clk/at91/pmc.c::at91_clk_sub_device_bind
> - drivers/clk/altera/clk-arria10.c::socfpga_a10_clk_bind
>
> So this function dm_ofnode_pre_reloc can be removed and replaced
> by these function calls by ofnode_pre_reloc().
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> Hi Simon,
>
> It is a rebased patch for http://patchwork.ozlabs.org/patch/1035799/
> marked as superseded but never resent (and I forget it).
>
> Compilation is OK on travis:
> https://travis-ci.org/github/patrickdelaunay/u-boot/builds/670029232
>
> Patrick
>
>
> Changes in v2:
> - rebase on master
> - udpate dm_ofnode_pre_reloc call in at91_clk_sub_device_bind and
> socfpga_a10_clk_bind
>
> drivers/clk/altera/clk-arria10.c | 2 +-
> drivers/clk/at91/pmc.c | 2 +-
> drivers/core/lists.c | 2 +-
> drivers/core/util.c | 28 ----------------------------
> include/dm/util.h | 27 ---------------------------
> 5 files changed, 3 insertions(+), 58 deletions(-)
>
Acked-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list