From patchwork Wed Jul 24 06:02:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 814153 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp2619554wro; Tue, 23 Jul 2024 23:10:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUvn+ry1dOdSylJEzEZlnabkg4QTN3x9N3ZB5N8JTTw8qM/+dnPr1RrItRbxro2J55ByHk6cdfmFvcFTKYH4uQr X-Google-Smtp-Source: AGHT+IEe5Gv4NgBV9uvAm+ehpKa5QJtJG/aIxBXwXmbhoyRhwnmOkSXnCBtN9FJvziBmtCAOM8l/ X-Received: by 2002:adf:e0c8:0:b0:367:96b5:784e with SMTP id ffacd0b85a97d-369f5af5aaemr607183f8f.50.1721801450532; Tue, 23 Jul 2024 23:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721801450; cv=none; d=google.com; s=arc-20160816; b=AQS+szzSDWCj6LXwBokA2w3GP/J5GlAIND7mOXojUJnVdW4tIxbZnAInSXr5m3VAS6 luZTwtibfyOBRad7KDsWsD+Y3Gcp4F6BX65KudJxcbhQFV6B7W7QNrrT9NqKyEKl7nUW +fQu8ASyieJm01+eTPX8hOKBeY5pyPSN8aZkDTcQ6pjFZJm450rj7W8c3NbyfGyPqpYl 7C6brFOCjuKdreqLZccaadCFaiGEgdbA8o7VQubM4vwK/fC3V3WER/tqV7IFivQ84iIw k6/uZlczHttUcy5WXysMFKyYIUBRGH6meryAKiMG58FSlUvTnVq3ZjoEErIn5Tno5UdC tR7g== 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=MV365PIbMb9Pd9ULvh+s8XrZ5+Zxj559fnBCKJjrf+g=; fh=eimiGswTlodK8yi2DcDfSicmKwvq5bxKQKpD+SkkTNY=; b=XwihxKNbvXFnjHJOhWWBhcNk2gEUtu97dSvhygYyLyx56JDQOlUS1ZNz84arxfmier XVpOgRGttunA+3MLSw4sIBZElXimrTekDiKyHNFBJ+n5L11R0Mwv22Ta81mVA/2N7lkW t5pFLhvIJHCKmF2kFVCLOoy+oPjYIyNF3cLT7RfgeTkLc978PeDJGG/tNyCFOvsReNm0 5PiTkAwUhzCbHRXu2BwaTgD1pi+UBOL68O+rDxQtKpq5Bm4CSP5+DjTdUIfBB4tsNVcu IfNSIab7dlRpv27iQtE87+fEIE1mCeRAa5+JeBnUUFiV7OdpBunfAq+lR6WSNtY+xxOH bDXA==; 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: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ffacd0b85a97d-369e3833c81si1348096f8f.813.2024.07.23.23.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 23:10:50 -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 AF8238895B; Wed, 24 Jul 2024 08:05:20 +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 737F888935; Wed, 24 Jul 2024 08:05:19 +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 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 E5BC788906 for ; Wed, 24 Jul 2024 08:05:08 +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 D0C6B106F; Tue, 23 Jul 2024 23:05:33 -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 261C03F766; Tue, 23 Jul 2024 23:05:02 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Heinrich Schuchardt , Simon Glass , Marek Vasut , Mark Kettenis , Michal Simek , Patrick DELAUNAY , Patrice CHOTARD , Huan Wang , Angelo Dureghello , Daniel Schwierzeck , Thomas Chou , Rick Chen , Max Filippov , Sughosh Ganu Subject: [PATCH 28/40] lmb: config: make lmb config symbol def_bool Date: Wed, 24 Jul 2024 11:32:12 +0530 Message-Id: <20240724060224.3071065-29-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240724060224.3071065-1-sughosh.ganu@linaro.org> References: <20240724060224.3071065-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean The LMB module provides allocation/reservation API's, primarily for loading images to memory. This is functionality which is used by all boards. Make the config symbol used for the main U-Boot image as def_bool and enable it by default. Signed-off-by: Sughosh Ganu --- Changes since rfc: New patch lib/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 6a9338390a..c7fa4bc77e 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1099,9 +1099,7 @@ config LIB_ELF This supports for 32 bit and 64 bit versions. config LMB - bool "Enable the logical memory blocks library (lmb)" - default y if ARC || ARM || M68K || MICROBLAZE || MIPS || \ - NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA + def_bool y help Support the library logical memory blocks. This will require a malloc() implementation for defining the data structures