| Message ID | 20251018084117.1798704-16-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=1760776946; bh=0lgOkAVm2eNcDQVYb2JPPOuyJP5ooxVPoQyzEP69dEc=; 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=FA8kz1oVQEaEECBb+6E9ZJIgUEOzurp1kznoxBZkREWEjPWl1Slaixa5Z0hVbsKoQ Q/S7l/TEVs152Cees52xu7bnYdSkE5Of5H1SRN6DYX1pw+6yEFadW/4acRNg6gOt8x mxl4AlYraeqVWJHsrC84qIdJQqvDf3licZ1wGKQtRUWVx/oeLWsge8KCWBYEYJUbKh LynJ+UbNa+D0PbfHboSFlQbPTXZQXUSfpXx0rCHHNdV+yHojfm2bbAZJtI52BA+4jJ IRhuKbYSlpn+LPPHfky8QNWsIqTYwxqrcO0JLoEx2uIv6iWfCK2Z2z3PknZOwZa+3+ QR8dEekMJMXrw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 40F6B681CD for <u-boot-concept@u-boot.org>; Sat, 18 Oct 2025 02:42:26 -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 ymIUjLw_Ot0l for <u-boot-concept@u-boot.org>; Sat, 18 Oct 2025 02:42:26 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760776944; bh=0lgOkAVm2eNcDQVYb2JPPOuyJP5ooxVPoQyzEP69dEc=; 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=VvjsU4evhqR9h5wNS8FhXhawva3p4gogFPk2SGjMzYq0Jt9AbT61G3M4TlKOdd7Zq GF3WJ38SFCGITtSvHi65J6+sNPs4r4TxnMOpa3wtGyYW5V2X+R8c4baptvexFtFG+2 TyU3O0N3vvovg4y4Eflgu8mCKswj6JqeQKPUOJhaE/6O+l+puG9H2rL2g8rwivPfPR awxfHcbVpFkM26QRfFMf254DBOBWp1ueFWc+Gf3Ea0zvcAwvFXWh/GHmHHwQ1ofwq4 R/DiB3jqUV5qfI1P4Aww5+Zi5CFIv/akgQkRoBziCx/sPmyuBv8tqFztLdDad4OLo6 Mqi6lQ/Ur7wYw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3BBD468188 for <u-boot-concept@u-boot.org>; Sat, 18 Oct 2025 02:42:24 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760776942; bh=v8XRZ+ue2AN4u1abi3gon5/5I04zzDBt8lnPySX2QDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FjMTVdUK38ef16xRoGXcnhADwDBUMaR4aIngY/h2nPwrPWkticrrofA2QnkWou7KO DFbGWR4n+njaORRsKltCQRdDV8js99LyJI9rF+lxcrCDa+V+sSdymeEnmZR65wV4uu o2SviVoGwTHUQmi747PByYCRZe4dOvGyaXz5ilbQjASpwwSMqL886eGoFJ2AOgmXaM DZ42b3odxetKRd4lSRjX38PwY8NbAQQuQ6TuVD4A2lmisda4gdnTRZCQNDylgsebeL Cku3gcBKmbnF6Niq0ZQK/dtIy7HhVkOYrvoY97CIZ4+PIRPeYHztrV1aieG/tD8h9w ++BqcsvUS9NgA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9A9EC681BE; Sat, 18 Oct 2025 02:42:22 -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 1HXLTJ5HesoO; Sat, 18 Oct 2025 02:42:22 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760776937; bh=4s31pEMqFhpNwIIznGQoYQdttKWwNspUxJEu7Lci+gw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e+4YS3190qD9es+88Jg95dIQo8bYqhX5fOilNL+kjw8Y0EoKQdExam6HnWrnyVNv2 JAehtuTsVEtJ8Di4pk4uLdY898/2xcx11AIPdFQEur/6zpT7rWmxOkZVO/DDNRNnZ5 pY8zteV80sNX/Jvup2HsVuYTSk5KGZe8hiF0Wd26iCA/j+pn4TnhmOq796nzyS8mvR vqRDJj2J8rVJI9BinnwOCF+4A7I1hg52i1Cn4LhF0jsKdSFccNdz5pBLqdvZ9XEmsY a5KFRfwjCYSM+atRr4SUceLjQn/qUaXy0/8MWz6IsgInUvGt2Hg5S69ZirBkeXFUYe AKQvzFUuMK+4A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4278C68109; Sat, 18 Oct 2025 02:42:17 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sat, 18 Oct 2025 02:41:00 -0600 Message-ID: <20251018084117.1798704-16-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251018084117.1798704-1-sjg@u-boot.org> References: <20251018084117.1798704-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: VF3ET6QEFI6FUWMMT5MK2N4R73BZKXSA X-Message-ID-Hash: VF3ET6QEFI6FUWMMT5MK2N4R73BZKXSA 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 15/24] bootctl: Respect the autoboot option 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/VF3ET6QEFI6FUWMMT5MK2N4R73BZKXSA/> 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 |
bootctl: Expand bootctl to include a new UI
|
|
Commit Message
Simon Glass
Oct. 18, 2025, 8:41 a.m. UTC
From: Simon Glass <sjg@chromium.org> When autoboot is disabled, hide the prompt. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/bootctl/simple_ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/boot/bootctl/simple_ui.c b/boot/bootctl/simple_ui.c index 14c6de5bb1e..3ef00651c05 100644 --- a/boot/bootctl/simple_ui.c +++ b/boot/bootctl/simple_ui.c @@ -59,6 +59,7 @@ static int simple_ui_print(struct udevice *dev, const char *msg) static int simple_ui_show(struct udevice *dev) { struct bc_ui_priv *upriv = dev_get_uclass_priv(dev); + struct logic_priv *lpriv = upriv->lpriv; struct bootstd_priv *std; struct scene *scn; struct abuf *buf; @@ -78,7 +79,7 @@ static int simple_ui_show(struct udevice *dev) scene_id = ret; scn = expo_lookup_scene_id(upriv->expo, scene_id); - scene_obj_set_hide(scn, OBJ_AUTOBOOT, false); + scene_obj_set_hide(scn, OBJ_AUTOBOOT, !lpriv->opt_autoboot); ret = expo_edit_str(upriv->expo, STR_AUTOBOOT, &upriv->autoboot_template, &upriv->autoboot_str);