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 5CECCC433EF for ; Fri, 5 Nov 2021 02:05:33 +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 C9A9760E97 for ; Fri, 5 Nov 2021 02:05:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C9A9760E97 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 EA76F83740; Fri, 5 Nov 2021 03:04:27 +0100 (CET) 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="H+3dFBNb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A71783728; Fri, 5 Nov 2021 03:03:35 +0100 (CET) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (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 3BC4783705 for ; Fri, 5 Nov 2021 03:03:01 +0100 (CET) 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-ot1-x336.google.com with SMTP id s19-20020a056830125300b0055ad9673606so9720043otp.0 for ; Thu, 04 Nov 2021 19:03:01 -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=L8BhGDm5GVuMM/8dDAP68slXrKCcrjEdOLujmLW0h8s=; b=H+3dFBNbWa0qpfrF8Us6lyZl1uFpxleILZV0IyUpfcPfM6q4g2dE4q7FXgLF+LSfwg O/yfoE8J+Eqx7Ry+YstrSGPRk2FllThwxX3nnBY6L7ACWEKzjvcWefykQTY4LWmcbHP2 trKcDmfcfSvLnLtTAZvdCg7gW56YKfhTCyqlE= 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=L8BhGDm5GVuMM/8dDAP68slXrKCcrjEdOLujmLW0h8s=; b=osOJGUi8PyZrOSXjygY+zydC1FPo0Owe+7T5lGk+BzpiwYk460gkdYwaJ99MPLNaO8 8Qhs8GM4bnKuQ+Ld5TiNrkjllbgi0xaGKXdO0WNBsg3DYQj6eJodFXUVsLlFX2VXXDqs vEVkxXc0KoMM4PHmog3qXjNkrsyv5MvFi/Kz2Vg/rBzxSTewSwxS1AJja9FoxlHt0B8W tBcL0cDil2e4ixhe8jTZC6VGUzRrFTtn29grRzmFYkBl1BVqlePcitY/7/qm6VpxjNFu CutHxzvKPqsi317rZKJaoENQLE42KyTundLOOMMq3k+jsy/aDXotnjXz5FocRkW5iC19 wQog== X-Gm-Message-State: AOAM532iMyNA/awWNKixFncIZO6l9PDg2qgy/BfPAoUPLQBDoEfGfDBD I8x5iglTTwKnXesyWT/SJJGbTa9M+EwAYs29sy289rmrxVg= X-Google-Smtp-Source: ABdhPJyQ+/ym2UV01SqHgJd9x7P7XInDQeOKjUNDizPIDkxqAFxviGbTzPjm3bdDELG7pcXlobp8wLCzTznQWhhiabs= X-Received: by 2002:a05:6830:90:: with SMTP id a16mr5123084oto.97.1636077779631; Thu, 04 Nov 2021 19:02:59 -0700 (PDT) MIME-Version: 1.0 References: <20211030065140.3589529-1-ovidiu.panait@windriver.com> <20211030065140.3589529-4-ovidiu.panait@windriver.com> In-Reply-To: <20211030065140.3589529-4-ovidiu.panait@windriver.com> From: Simon Glass Date: Thu, 4 Nov 2021 20:02:10 -0600 Message-ID: Subject: Re: [PATCH 4/7] common: board_r: drop initr_addr_map wrapper To: Ovidiu Panait Cc: u-boot@lists.denx.de, AKASHI Takahiro , Bin Meng , Matthias Brugger , Priyanka Jain , Tim Harvey , Wolfgang Denk 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 Sat, 30 Oct 2021 at 00:52, Ovidiu Panait wrote: > > Add a return value to init_addr_map and use it directly in the > post-relocation init sequence, rather than using a wrapper stub. > > Signed-off-by: Ovidiu Panait > --- > > arch/arm/include/asm/mmu.h | 2 +- > arch/arm/mach-bcm283x/init.c | 4 +++- > arch/powerpc/cpu/mpc85xx/tlb.c | 4 ++-- > arch/powerpc/include/asm/mmu.h | 2 +- > common/board_r.c | 11 +---------- > 5 files changed, 8 insertions(+), 15 deletions(-) Reviewed-by: Simon Glass