From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB255C433F5 for ; Thu, 30 Sep 2021 04:10:41 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35E7E617E4 for ; Thu, 30 Sep 2021 04:10:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 35E7E617E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D27F280F8A; Thu, 30 Sep 2021 06:10:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="JfyXx5lG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB8F680644; Thu, 30 Sep 2021 06:09:05 +0200 (CEST) Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1ACB980F12 for ; Thu, 30 Sep 2021 06:08:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-vk1-xa2f.google.com with SMTP id h132so2203984vke.8 for ; Wed, 29 Sep 2021 21:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OPfVYulUpFm9LwX7rI9F4Gf6OPzU5hbLen5yA0Ill7M=; b=JfyXx5lGElU7/sAxb/rBGVhmKY5WwF8/DrS8yOF/CoBiLLvKxJBXC2+XR7dtRNW+xn ChLmt5J2j1pUkTcd2sPNMPd+LUFjSOQvuwIZkeEjOrVGXvYCarwWleLF6PAvriNK3/EF 6S5K6wYQMn1liHnOH7Q1LNwKTi74NcsCZHfnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OPfVYulUpFm9LwX7rI9F4Gf6OPzU5hbLen5yA0Ill7M=; b=64fJM4IjJNzQCUgbJ7LmMTYKPASbd0dk6ildzgysK5bxKLej/VUp9Fwek0bRXH5kLj d6sNuFbU5b9J7C/xCoaynsBqbcu4NV3dIO6jQAUpGQb1u7MF91eXWw8TJelt1wUvlxi0 +OA365qsLBZ8vKSvjO0Idlu/O6adBUwOFIQzP9vNQf0I9U2mIz/CiMSrNLJ76n3CVmv9 14yhgmg1gjME0F0hXqmY8I+zlMRTkz/dKKM+NTJ5wRZOn7OYjfLXqqWGaGnDnuJvFpHS t6oDbCKfM7hCsypxsFIPDUIHKZtSoTlUF4zqUY0d8u9I4oLNeI0kdZIrmA7lt2Im09c8 JQhA== X-Gm-Message-State: AOAM533qVapIvzJRs4B7xq5yRIK7ZmJhKeBy3b1gSRHNO0FHV3zMuCzK qP2HJ2mFRQYvjIjM1EFHQ+O1iHti39+fMMx/m/IsWw== X-Google-Smtp-Source: ABdhPJwjZpFuO4Bd5RhcIgKRMD3HWHezv5+ie3j5us8eOwQQ+vnISlONKI2kqgUcQIngH2wRe4OYFu6Q6/IZ5b8Ue3Q= X-Received: by 2002:a1f:2952:: with SMTP id p79mr2942842vkp.11.1632974935646; Wed, 29 Sep 2021 21:08:55 -0700 (PDT) MIME-Version: 1.0 References: <20210903131625.2153838-1-thierry.reding@gmail.com> <20210903131625.2153838-9-thierry.reding@gmail.com> In-Reply-To: <20210903131625.2153838-9-thierry.reding@gmail.com> From: Simon Glass Date: Wed, 29 Sep 2021 22:08:43 -0600 Message-ID: Subject: Re: [PATCH 8/9] ARM: tegra: Refactor DT update helpers To: Thierry Reding Cc: Tom Warren , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > 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 > --- > 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