Message ID | 20240905082811.1585467-11-sughosh.ganu@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp187016wrb; Thu, 5 Sep 2024 01:30:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWjit1vAiKHcl9G7lgmerANaqEUj8X2io1GbgmRNivvvleac5Sjnr/Y8IKzT+iXt3XFmpg+kw==@linaro.org X-Google-Smtp-Source: AGHT+IEgm8lAdP/TMsJ+wHln9pheInYH4LB4PJnA8xIwY8Ft1OZzLSNJgnKHp/81r/my6UqzrSjF X-Received: by 2002:a17:907:9816:b0:a86:7e7f:69ab with SMTP id a640c23a62f3a-a897f8354bamr1798391366b.15.1725525019434; Thu, 05 Sep 2024 01:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725525019; cv=none; d=google.com; s=arc-20240605; b=VtdnoQe2kWGiPf2nTc42DXksqkIZO+pY+2itTVs20FXz2dDtpdgjNHTrjyuaWddxuj 6jkRwasJt3vy3KQl85k/0XtkbXfgHox3QBZ3VhECFNnE561b9RsmZE6OfYEYe0a8I6y8 9CnJdoU6O2IORbG8Fw5nCf/EetuE9peZZoQREMLSxeIwoamguGzM52Mxbwz1Nrub9M70 x4XbU/dkO88FgQdXzuBZ64Tg5Q0kuJ1QI9Ca+EjMQACVEpT8fsoZ7btq7O9UXBSelGtG xXFSjBTSeMIX5orf6ukTXFbD8jYoJBjRdssfAyJuB9c933OTeRKbkecXyZmY1sxuR2bI gXlw== 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=UisRzynRlwSuKJl4+IjCX/HMbzgOxyXGtECc5XtluNY=; fh=xhhG27Jur2HVmyj6xWbgrQg2vRawqr6LmtjP4yz05ls=; b=BjF+j5DPSYPBnBGqQ/APd9pmSF/88PyY+2kadmYkFL2jkuZ1G+sBuGU36+nDOGdcul tVOqb136chdGfxCzXJapjcLdOevYQKSl0FmivgPfRlHy82EHIfBNa2efuOTQP3Mxi8tW OYxC/tTxJsu9dzMDKUkOn/7QlhYc5fU7WH2MA+Ydp9gHWB5nM76ZGY1HZJ5762sdCT90 qKVIUZfM9RLeY7ee0CxWHy3UYv3uHMHUi3fpiK9DA2juV5m1qgmvb+jHQR+fOOCpMQMD vZo8bGtXgvDDOrg48+vlrFPVOr/zhm6mneb9QqP5N356DBpL9qqg55AiWy6t5KNK6f20 jvGw==; 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 a640c23a62f3a-a8a61ff180bsi124330366b.42.2024.09.05.01.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 01:30:19 -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 96DE088C9C; Thu, 5 Sep 2024 10:29:07 +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 5CDEB88CBF; Thu, 5 Sep 2024 10:29:06 +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_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_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 C525988CD2 for <u-boot@lists.denx.de>; Thu, 5 Sep 2024 10:29:03 +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 D304BFEC; Thu, 5 Sep 2024 01:29:29 -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 E06313F66E; Thu, 5 Sep 2024 01:29:00 -0700 (PDT) From: Sughosh Ganu <sughosh.ganu@linaro.org> To: u-boot@lists.denx.de Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>, Bin Meng <bmeng.cn@gmail.com>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH 10/16] stm32mp: remove efi_add_known_memory() function definition Date: Thu, 5 Sep 2024 13:58:05 +0530 Message-Id: <20240905082811.1585467-11-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240905082811.1585467-1-sughosh.ganu@linaro.org> References: <20240905082811.1585467-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 EFI memory allocations synchronous with LMB
|
expand
|
diff --git a/arch/arm/mach-stm32mp/dram_init.c b/arch/arm/mach-stm32mp/dram_init.c index 198785353f..3698fc49bf 100644 --- a/arch/arm/mach-stm32mp/dram_init.c +++ b/arch/arm/mach-stm32mp/dram_init.c @@ -86,14 +86,3 @@ phys_addr_t board_get_usable_ram_top(phys_size_t total_size) return reg + size; } - -void efi_add_known_memory(void) -{ - if (IS_ENABLED(CONFIG_EFI_LOADER)) - /* - * Memory over ram_top is reserved to OPTEE. - * Declare to EFI only memory area below ram_top - */ - efi_add_memory_map(gd->ram_base, gd->ram_top - gd->ram_base, - EFI_CONVENTIONAL_MEMORY); -}
The efi_add_known_memory() function for the stm32mp platforms is adding the EFI_CONVENTIONAL_MEMORY type. This memory is now being handled through the LMB module -- the lmb_add_memory() adds this memory to the memory map. Remove the definition of the now superfluous efi_add_known_memory() function. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> --- arch/arm/mach-stm32mp/dram_init.c | 11 ----------- 1 file changed, 11 deletions(-)