Message ID | 20240821105839.2870293-9-sughosh.ganu@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e98a:0:b0:367:895a:4699 with SMTP id h10csp639454wrm; Wed, 21 Aug 2024 04:00:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXBT61hCcXc6+QB6QwZK0i83YBxrnfRcxCLowlTGD+AI3hVqYsWSGKPmgQw6fMcEvcodlAn3g==@linaro.org X-Google-Smtp-Source: AGHT+IG4SODI9bLAKidunqNJy21C9QLkYKtF5Q0qM72PA2jTNwXv0jD4cuZk6vd5Wyp8Ql3tG0JL X-Received: by 2002:a17:906:fe43:b0:a7a:a2b7:93fe with SMTP id a640c23a62f3a-a866f8f469emr115258866b.47.1724238021800; Wed, 21 Aug 2024 04:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724238021; cv=none; d=google.com; s=arc-20160816; b=wEVpEU0dX3a75+TG17eXPaK8BfyxQM1W+DItyrNFrSc3bjjPRtPdtY7OWCTHsSdjyb 4jbO60M//VrlCewumUojKVHRJ0pZFG9hgjwvvqmG539xKzLuciOXNc8Mowl55g5i0lT0 H0qjSo7tVNxdkBVlRlpGYJpsnGQ/N7pvu3oatj6EHkPZ72qQfluqjg7nPW4L6MIngYXR 7ya67cvoaZ92v0EbZ0JzoInGYHiifrtqh77k1mVg0jpmqK70/Eh+q/07ycXGVbX7SWWk ymL3qrhLUI+RMuaDfSaQnc/SMRgKU0U/Sr7+LURH4KR6lSuo4GinmAjC2ubpSVlFPvkw dUqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=8VSQVtafNZeH5cmP7DRvYB+P5rNfstd2kHOymxkN9MU=; fh=pnMZGD6unUPoMrkOwzXlkuYg+kVwGnSNRCTlQoWqjVc=; b=0IdBJKRWfFAT5bx2pkRDUpb2zk0NUMuxeEFfWjer5d2I1Fb3/xp6NypUQD1QVNItja rBYhiaKPvEzJ0EwCc75bm0PdkTJD9hi7I7CayNpCBprk2GJ1YyVdHoRFpPrO6clBrMvf dh6IFeIePY1H3jBp0uZ2Gb1ZdmM5Op+QZhEJb3fGQqoo/QDVbyKMKuHGFUEF4awaqdWi Jj0Wo4SOKVhi5U6o2VCDQaxkhDsiJU5TANk7ZqJ5Mhakv+IaZKjo2uA/o/pQ/Kyb9aV2 +mH0HYyuKmz6a6a3MLm2AkJ5o4EB09OeCiPxw0xA5CDA+4kJxiRt7UgXaSbkCkSgsQZp mu2g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a83838c7b2dsi822815666b.16.2024.08.21.04.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 04:00:21 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 557A588DAC; Wed, 21 Aug 2024 12:59:32 +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 739D088C6D; Wed, 21 Aug 2024 12:59:31 +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 7921A88D95 for <u-boot@lists.denx.de>; Wed, 21 Aug 2024 12:59:29 +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 0C94CDA7; Wed, 21 Aug 2024 03:59:55 -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 9F9BA3F73B; Wed, 21 Aug 2024 03:59:25 -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>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH v3 08/27] lmb: config: add lmb config symbols for SPL Date: Wed, 21 Aug 2024 16:28:20 +0530 Message-Id: <20240821105839.2870293-9-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821105839.2870293-1-sughosh.ganu@linaro.org> References: <20240821105839.2870293-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/lib/Kconfig b/lib/Kconfig index f8ac8daad3..6a9338390a 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1103,7 +1103,17 @@ config LMB default y if ARC || ARM || M68K || MICROBLAZE || MIPS || \ NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA help - Support the library logical memory blocks. + Support the library logical memory blocks. This will require + a malloc() implementation for defining the data structures + needed for maintaining the LMB memory map. + +config SPL_LMB + bool "Enable LMB module for SPL" + depends on SPL && SPL_FRAMEWORK && SPL_SYS_MALLOC + help + Enable support for Logical Memory Block library routines in + SPL. This will require a malloc() implementation for defining + the data structures needed for maintaining the LMB memory map. config PHANDLE_CHECK_SEQ bool "Enable phandle check while getting sequence number"