Message ID | 20250819185900.835939-5-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630036; bh=iLPukOAMmfq1EbLrrr9B7HAVLMxcxQ1aq0T+x4mjqCY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=iNjiONel7srswUiwfzFjnmpOJDCm5QGsBi5bEb5MOlAP5tx1Gg7z3nB3LWAzvq5kx 472h7Uv5FBZPGq13zbmUBjngDXfysltyseO6xXXXVDKaflTQoj2Itit2JTPxt/kcLo 1UNaw07TIkTvU+VTLdnogj0zuV10WypJd6y+65dD4e/96SjjaUsp0TcOAoyqpPgocv FdNFaI+VIfJxCcis68VVGbWhKfok1MfdLl/eE+8e+dedeV5D79OcHFWhKX1yrwFJQn DBnSlEDMYHuQ7lLgwzdo3+rSP+Gilgce7aEo34HYc9Iv9eK1j3jgkiaNPYOJU5wYJv XdSc4+8oujbBA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8579A67601 for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:00:36 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id qqkUrQ1KYsuI for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:00:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630036; bh=iLPukOAMmfq1EbLrrr9B7HAVLMxcxQ1aq0T+x4mjqCY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=iNjiONel7srswUiwfzFjnmpOJDCm5QGsBi5bEb5MOlAP5tx1Gg7z3nB3LWAzvq5kx 472h7Uv5FBZPGq13zbmUBjngDXfysltyseO6xXXXVDKaflTQoj2Itit2JTPxt/kcLo 1UNaw07TIkTvU+VTLdnogj0zuV10WypJd6y+65dD4e/96SjjaUsp0TcOAoyqpPgocv FdNFaI+VIfJxCcis68VVGbWhKfok1MfdLl/eE+8e+dedeV5D79OcHFWhKX1yrwFJQn DBnSlEDMYHuQ7lLgwzdo3+rSP+Gilgce7aEo34HYc9Iv9eK1j3jgkiaNPYOJU5wYJv XdSc4+8oujbBA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6E4AB675FD for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:00:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630033; bh=fLae88nQh7plswF7x55bqP4Y+mhVUCPciy8ixLQRNbs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PLxYmnOdafOHfj+Yd1hDpjK4hc5irLIe3f4KWkcCMVrsY1DAxchCJaQ2UTrGL9fQE vxWZ80Fv2/xwS/epxeNUIv4jJ4Xnn/BMrFz2pBdKujw9iaFdmdRLjaamb0dSnAPmZV zA8UMzMhvGZKL1R+3DHJMxNVegbe8M/XP4zn6C3fxpDKj6EQ2NBcfpnh/z3R/V/lXx CVInlz4THYMuFG9uY+lw1M9u+ykTwOuLw2qs4RyucVv+IKs8Ko+8U3awOpyOZtgHrD 40JxMnv6KgUmCKAFwBw7uy9REEdpgkpqapK57fls8kZxF44a5DcEC2ffgYgnSpGzR2 seVOZTcCQPLmw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4DFB7675DE; Tue, 19 Aug 2025 13:00:33 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id Q_y07MxFthDH; Tue, 19 Aug 2025 13:00:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755630029; bh=CQ15ovVjZ+Cg2CMB6mu3r4Aq3xZJz8r+KsWGNjxoQPo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nKJekXkv5lqOGS3juxWOgyUgWvHz3jDZCXpYSIsr89Ny1akCkziZBZK689Sxs7bYy snoGpOw6F0gOEBKEDLJxrvsr1/oWAx13/iiceSBbDh9GPz4f6HTXkwRDQuJQPTHPNo Oq0Mpm3ZquhKDzDeZDUXj6f93i6sQ2LLSpwot7okG95u1vkhk5eH/uz1rwFe0J8WOa h+CcefhGVgBxzQuHzi6HXjB8tWRQ3MVC1EDsWaxdyc+ps11tfMR9y896Fjg/yC5HKf GmDEHA0Q+A0fzmHB7uT8V0awPnkmDDuBIfbaUcD79kaOosCwvqa14a5I6dbvBc8THx u+0ogRwu8xZGA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id CA1A4675EE; Tue, 19 Aug 2025 13:00:28 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 19 Aug 2025 12:58:35 -0600 Message-ID: <20250819185900.835939-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250819185900.835939-1-sjg@u-boot.org> References: <20250819185900.835939-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FQYF2YXETODLXJO24HRY6XLTRDCIZNM2 X-Message-ID-Hash: FQYF2YXETODLXJO24HRY6XLTRDCIZNM2 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH v2 04/22] arm: Drop kernel_entry for arm64 List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/FQYF2YXETODLXJO24HRY6XLTRDCIZNM2/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
efi: Improvements for the EFI app on ARM
|
|
Commit Message
Simon Glass
Aug. 19, 2025, 6:58 p.m. UTC
From: Simon Glass <sjg@chromium.org> This variable is tricky to set up and is only used to show an address. Drop it and use the source variable instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) arch/arm/lib/bootm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index f15092fcae4..02ff8beaeab 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -260,15 +260,10 @@ static void switch_to_el1(void) static void boot_jump_linux(struct bootm_headers *images, int flag) { #ifdef CONFIG_ARM64 - void (*kernel_entry)(void *fdt_addr, void *res0, void *res1, - void *res2); int fake = (flag & BOOTM_STATE_OS_FAKE_GO); - kernel_entry = (void (*)(void *fdt_addr, void *res0, void *res1, - void *res2))images->ep; - debug("## Transferring control to Linux (at address %lx)...\n", - (ulong) kernel_entry); + (ulong)images->ep); bootstage_mark(BOOTSTAGE_ID_RUN_OS); bootm_final(fake ? BOOTM_FINAL_FAKE : 0);