Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DBA7C4338F for ; Sun, 15 Aug 2021 19:47:50 +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 66E3461278 for ; Sun, 15 Aug 2021 19:47:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 66E3461278 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 0711F82BCE; Sun, 15 Aug 2021 21:47:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="nZaypc5m"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4DCEF81BC8; Sun, 15 Aug 2021 21:47:40 +0200 (CEST) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 ED3E982BCE for ; Sun, 15 Aug 2021 21:47:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72a.google.com with SMTP id f23so16895962qkk.13 for ; Sun, 15 Aug 2021 12:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Ve3SqQMvIXbQd/AE88aWURp6XjJklgBe3GKwGz4nCbU=; b=nZaypc5m05mqV7s8Z9VAeXVTg+ujZtiV5dfasffgm2NOZE7ybHnRdq9EXGtQSbEsHs XVKi0rVRNkk1/AFhJ+KRk4rOFdR55JcnLHACdUcrpBJSkuLykYG1oSTAIuMKUv6QARWb tHY0XQg04rVqZ7HHhVhsuAF7ASo+WRHgX6+d8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ve3SqQMvIXbQd/AE88aWURp6XjJklgBe3GKwGz4nCbU=; b=YL0DXyaBVUjAiEECP9MeC99ztlzcXjCtvsUgDEgDzCmG+32iuQyP8GmMldE5rkeM9V 09pK1qP8ivqpcL+pQI74bj1Giy67OcF/rvcBXJ1o9bMlDcCp5OXVGALVz950RTnMFsYh 33k42IyRCq3N+aw36ASQYfniwGxlrSInyDajHHZH6d62mmAW9icrCK+V0EOjKUph9rhq JTCULanEI22K/Ch1GQzKFUhPK72VOBr/eReb1pQzQUfzZa5xfVsgDY1jMhecENa615am NqYD0cnDlC/PU4YIC8clrPoHAGKgYCSTPuheAUeTRGjFAuqIwkE/EcOik8SBk/q1ft0s neZA== X-Gm-Message-State: AOAM5314k4eqVI+gMQ2uItGmjq6/j+eJHd4AmWLdK1Auhw/oNPcSheL0 59Dg/M67p2bRpqDtfidy1YDqJQ== X-Google-Smtp-Source: ABdhPJxSPFkNBy8YW+/ISetCUAnnrx/J7Whz5Z4LAM/na3AvUPfMw7DSZPzOZgY5cqH8zcEiHWGNVw== X-Received: by 2002:a05:620a:410a:: with SMTP id j10mr12857501qko.185.1629056852770; Sun, 15 Aug 2021 12:47:32 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-6085-4c50-20fd-dcb7.res6.spectrum.com. [2603:6081:7b01:cbda:6085:4c50:20fd:dcb7]) by smtp.gmail.com with ESMTPSA id w19sm1139897qki.21.2021.08.15.12.47.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Aug 2021 12:47:32 -0700 (PDT) Date: Sun, 15 Aug 2021 15:47:30 -0400 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Marek Vasut , Simon Glass , Simon Goldschmidt Subject: Re: [PATCH 03/14] lmb: Always compile arch_lmb_reserve() into U-Boot on arm Message-ID: <20210815194730.GO858@bill-the-cat> References: <20210815181314.132330-1-marek.vasut+renesas@gmail.com> <20210815181314.132330-3-marek.vasut+renesas@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Za63U8UmC/xhCFi7" Content-Disposition: inline In-Reply-To: <20210815181314.132330-3-marek.vasut+renesas@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --Za63U8UmC/xhCFi7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 15, 2021 at 08:13:03PM +0200, Marek Vasut wrote: > The arch_lmb_reserve() is called by lib/lmb.c lmb_reserve_common() even > if CMD_BOOT{I,M,Z} is not enabled. However, the arm32/arm64 variant of > arch_lmb_reserve() is only compiled in if CMD_BOOT{I,M,Z} is enabled. >=20 > This currently does not trigger build error, because there is an empty > weak implementation of arch_lmb_reserve(), however that is not the > function that should be used on arm32/arm64. >=20 > Fix this by moving the arch_lmb_reserve() implementation into common > code and always compile it in. >=20 > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Simon Goldschmidt > Cc: Tom Rini Reviewed-by: Tom Rini --=20 Tom --Za63U8UmC/xhCFi7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEZb1IACgkQFHw5/5Y0 tyx/xwwAqdTeMjPCe+7zBdx7RzGhKBVAV+03DjW/PQ0qWxUkJPqTFk/JPUsu6TCN AHYDs8cTZkDzDFaEsl5wiNxXECnRKkZcRIvAqcIrXeh/jBBZbtcoKviAcAq76GqC GErGGfmY0gx37eWHz12BgDnZHWJKJv8H5+oc6CPtukcB8jlGnECjulyr0czq2U8o K7Y5YwzOmIKmOm21FYdFaH9+ekBa6yAOJTYBa9CCnopBRK0+kyAbyBtDXaIYWnLZ FDKMSCqJNgJFltTOdYMpjvF1GBJR6cBqmW8HkBUjBBwrY2VAiuIFL+pgFuAeZ1/D EgaEoP6ETy0Y8vuD6IgUtE69eXDPxYi3Q8XbdrQXIPgnzOeyWufvTEY3OBZEToBe /3/pWgF1X8PLHws/FdY4HfyoRIEgz5wwYd1mlaCLDnZtDB1eipFsp2ybULf8HKiX f3mnnjwUN0fKu8B61YpiqnrOGO1EHQ+q8OYuicxjySnSHT85YAE1Jd5MZ9Ph3lHk vc/CAm6g =slFh -----END PGP SIGNATURE----- --Za63U8UmC/xhCFi7--