[U-Boot] [PATCH] fdt: Move fdt_fixup_ethernet to a common place

Simon Glass sjg at chromium.org
Sun Apr 30 03:48:56 UTC 2017


On 28 April 2017 at 06:51, Tom Rini <trini at konsulko.com> wrote:
> With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet.
> This was fine to do on PowerPC as they largely had calls already in
> ft_cpu_fixup.  On ARM however we largely relied on this call.  Rather
> than introduce a large number of changes to ft_cpu_fixup /
> ft_board_fixup we recognize that this is a common enough call that we
> should be doing it in a central location.  Do it early enough that we
> can do any further updates in ft_cpu_fixup / ft_board_fixup.
>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Chen-Yu Tsai <wens at csie.org>
> Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> Cc: Thomas Chou <thomas at wytron.com.tw> (maintainer:NIOS)
> Cc: York Sun <york.sun at nxp.com> (maintainer:POWERPC MPC85XX)
> Cc: Stefan Roese <sr at denx.de> (maintainer:POWERPC PPC4XX)
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Joakim Tjernlund <Joakim.Tjernlund at infinera.com>
> Fixes: 3f66149d9fb4 ("Remove extra fdt_fixup_ethernet() call")
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> This replaces my previous patch to fix just rpi.
> ---
>  arch/arm/cpu/armv7/ls102xa/fdt.c |  2 --
>  arch/nios2/cpu/Makefile          |  1 -
>  arch/nios2/cpu/fdt.c             | 38 --------------------------------------
>  arch/powerpc/cpu/mpc512x/cpu.c   |  3 ---
>  arch/powerpc/cpu/mpc8260/cpu.c   |  5 -----
>  arch/powerpc/cpu/mpc83xx/fdt.c   |  1 -
>  arch/powerpc/cpu/mpc85xx/fdt.c   |  2 --
>  arch/powerpc/cpu/mpc86xx/fdt.c   |  5 -----
>  arch/powerpc/cpu/mpc8xx/fdt.c    |  3 ---
>  arch/powerpc/cpu/ppc4xx/fdt.c    |  6 ------
>  common/bootm_os.c                |  2 --
>  common/image-fdt.c               |  2 ++
>  configs/10m50_defconfig          |  1 -
>  configs/3c120_defconfig          |  1 -
>  14 files changed, 2 insertions(+), 70 deletions(-)
>  delete mode 100644 arch/nios2/cpu/fdt.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list