Message ID | 20240826115940.3233167-5-sughosh.ganu@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e044:0:b0:367:895a:4699 with SMTP id w4csp1476349wrh; Mon, 26 Aug 2024 05:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU6hKE1pJq5JQ3XkDeeoqeYgipAIa078W1do1LQunVD+e8r1jEE2tlnesNpiKdpQy1t/qYdZA==@linaro.org X-Google-Smtp-Source: AGHT+IEEFhOHs10YKT08e7+kGo2AmpJsqLlQVV6FyiTj0p2KG88X0t6shQU/Ne8V1K0vDVnnV/xr X-Received: by 2002:a05:6512:1196:b0:530:b760:92b3 with SMTP id 2adb3069b0e04-53438785085mr6982095e87.31.1724673654289; Mon, 26 Aug 2024 05:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724673654; cv=none; d=google.com; s=arc-20240605; b=IXIAoB2nDlDb57qkHBhn35Dgyg4XyO1L4EbN6Chm67pJe0h79vOeMkQP7+2+H2YB3p GJT83iWthNJoCNOpclSQcpj1kufIZGvl94VEJvO2P+VE4ASuvLYppHNYKrqlOqwzxQs4 P135ghiotBUtI15gUP44AmkITSAGD77zWRZ/UJtYimhfGFPtAUk/zNGOM23lOkO9EVfv lm66fIAkQkVVBjHjkPDjRObZ+u8pU33bja0+ID8CufFk2Nfbh97eH/Ncw+fgyrPrWlV3 jGUitT8T5zPMAmzzStRLVSp+OxcTdHrGqg5T8xWAAiuyJo4rrc2QCmHSMt/aaUNf1O6z dSdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=uQx9d1siUExSOqO2OpEGp67mEvV5vuTiZ0miv5Teofw=; fh=8IbOOFAUJYCfGYrzM0jWqtoOP7AaZuPOmdHZ5mvNk1Q=; b=D9lTZ5rOKtUBSVI0m4D6+5yZ/nkUSf2Gt7W/mW4pU9o7gQ16tT/kkeGu57bNIq/A7c C7AamHvFAZ2sUZkYHuVHJ77hhujbegayeK/pSwqaKyfM7ekd8ofggDCun0hOyDML86VZ tymC3jabBtWoc+spAMqAQtrtob1xQh1hqQUXVg6JwisDI5MlXzW+OAcbPJtoqcR+SO90 o2GSzkDIJEspo43IHz3cILO2CLUi8k4n0T+DDE1pRQR2pLPVd07ToigAROoeg8KBde0Y aUx0mWzjAGE0RxWvq7WQvK3sLUSOu7i0Zfrh/nYpRk8dppofyfY6oA1ygezlirkLmEdE UOUQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 5b1f17b1804b1-42abefdb108si57152365e9.149.2024.08.26.05.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 05:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EAEF288A2E; Mon, 26 Aug 2024 14:00:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id EB53788A41; Mon, 26 Aug 2024 14:00:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id E89CE88481 for <u-boot@lists.denx.de>; Mon, 26 Aug 2024 14:00:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 94C2DDA7; Mon, 26 Aug 2024 05:00:48 -0700 (PDT) Received: from a079122.blr.arm.com (a079122.arm.com [10.162.17.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B1B5B3F762; Mon, 26 Aug 2024 05:00:18 -0700 (PDT) From: Sughosh Ganu <sughosh.ganu@linaro.org> To: u-boot@lists.denx.de Cc: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Marek Vasut <marex@denx.de>, Mark Kettenis <mark.kettenis@xs4all.nl>, Michal Simek <michal.simek@amd.com>, Patrick DELAUNAY <patrick.delaunay@foss.st.com>, Patrice CHOTARD <patrice.chotard@foss.st.com>, =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH v4 04/27] lmb: use the BIT macro for lmb flags Date: Mon, 26 Aug 2024 17:29:17 +0530 Message-Id: <20240826115940.3233167-5-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826115940.3233167-1-sughosh.ganu@linaro.org> References: <20240826115940.3233167-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Make LMB memory map global and persistent
|
expand
|
diff --git a/include/lmb.h b/include/lmb.h index 7b87181b9e..3de29d42de 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -5,6 +5,7 @@ #include <asm/types.h> #include <asm/u-boot.h> +#include <linux/bitops.h> /* * Logical memory blocks. @@ -18,8 +19,8 @@ * @LMB_NOMAP: don't add to mmu configuration */ enum lmb_flags { - LMB_NONE = 0x0, - LMB_NOMAP = 0x4, + LMB_NONE = 0, + LMB_NOMAP = BIT(1), }; /**