Message ID | 20241015153717.401371-9-sughosh.ganu@linaro.org |
---|---|
State | Accepted |
Commit | 695dbd5fae4fcd708a9424238818dc8de4d8148a |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4c8f:0:b0:37d:45d0:187 with SMTP id z15csp301043wrs; Tue, 15 Oct 2024 08:39:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUwqIa4DL8y3GVd6bntucQkKPHKsfEFR8biij4fCG4+ztKPQs+BPELoNfM1Mid3o1Au+QXZ8A==@linaro.org X-Google-Smtp-Source: AGHT+IFrK1mvd9TvsELJFp0EXjQg+c3dkWoTfmvNoT5L4o8dD4AvOmwSBUdRlIA2vK8hBDo1kAid X-Received: by 2002:a05:6602:3f92:b0:82a:48c5:4d04 with SMTP id ca18e2360f4ac-83a64ce007amr872252339f.6.1729006741348; Tue, 15 Oct 2024 08:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729006741; cv=none; d=google.com; s=arc-20240605; b=J5M9teecGfvWpzA2YRmDZRCWKCG9p97zC76pH1ieL56t655UfZ87i6tiU4M67P7UJc r5d46UOZdkbfYcTry6VL/8SaC3SfL+YxZW2s7e4NWRmj6JZ0sR2lp5ga3TVDCrbhrx6K Hac/zMpeW410pL9IuwulYXMo+wDmknPuE1l2HcVE+OxLoXNY3F551g/9uWOof1y5tjL7 CYrwaHmVhoDXljRYu1y7HefObaC75z6Bhq3Pap3DcsVCPUNnEs0UUtCSiOvcbDVWzFM4 UIzCEDPFqADMwXL2kZHF8FjAZ3ivOgVIxx9071ONj18529s5VRYg0tKypdDC6ttpDPDO 64HA== 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=+yzPo8v/FaKUfNPHDH5/Bt7Ora2U6XDAytQ5zk11+FM=; fh=MYvlzMqd61VHJORtkCu1tTA+qP9jRMJFkVEqSzDEdy8=; b=RWDLrG0+7P29krBRXSwQApBKGR+5vCzB8nDkLPSoDT/Lmezm/HgZlQWPcLGJ28aYe3 gHUncS4SVwX2z86mvrVmNO7iHnLeefkAQOPgubOuUYgw9947whGtWB8p1MudqsaZulj+ b4TxqLKBpV5YvGT5xubjgQwv81VITvSdjJqGW2ANqfBYMnIakfl/2Gica45XCvYFHJaA DBEwcrUKuan/aPc6aFmwvb+DRapk/VrC4vD6Ate26g8UNXeqPHjAFEgz5hh5vI5TebsT MISvA3DpKlPgiZPxK/ZClX01MfA7GZJaftH/YOBPeHgHc9Vl8PyJia3a8FiBpuD0rvQJ rY9g==; 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 8926c6da1cb9f-4dbecc66274si727945173.82.2024.10.15.08.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 08:39:01 -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 C41E588D14; Tue, 15 Oct 2024 17:38:09 +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 1F18388BD2; Tue, 15 Oct 2024 17:38:08 +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_DNSWL_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_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 1BEC488730 for <u-boot@lists.denx.de>; Tue, 15 Oct 2024 17:38:06 +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 309B516A3; Tue, 15 Oct 2024 08:38:35 -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 B138F3F528; Tue, 15 Oct 2024 08:38:02 -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>, Caleb Connolly <caleb.connolly@linaro.org>, Jonas Karlman <jonas@kwiboo.se>, Mark Kettenis <kettenis@openbsd.org>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH v4 08/15] stm32mp: remove efi_add_known_memory() function definition Date: Tue, 15 Oct 2024 21:07:10 +0530 Message-Id: <20241015153717.401371-9-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241015153717.401371-1-sughosh.ganu@linaro.org> References: <20241015153717.401371-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 198785353f1..3698fc49bf1 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); -}