[PATCH 8/9] ARM: tegra: Refactor DT update helpers

Simon Glass sjg at chromium.org
Thu Sep 30 06:08:43 CEST 2021


On Fri, 3 Sept 2021 at 07:16, Thierry Reding <thierry.reding at gmail.com> wrote:
>
> From: Thierry Reding <treding at nvidia.com>
>
> Rather than duplicate the Ethernet MAC address and carveout updating
> code for each board, move it to a common location and make it more
> reusable.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
>  arch/arm/include/asm/arch-tegra/board.h |  10 ++
>  arch/arm/mach-tegra/dt-setup.c          | 118 ++++++++++++++++++++++
>  board/nvidia/p2371-2180/p2371-2180.c    | 123 ++---------------------
>  board/nvidia/p2771-0000/p2771-0000.c    | 126 ++---------------------
>  board/nvidia/p3450-0000/p3450-0000.c    | 127 ++----------------------
>  5 files changed, 149 insertions(+), 355 deletions(-)

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


More information about the U-Boot mailing list