From patchwork Tue Oct 14 11:12:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 598 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org Authentication-Results: mail.u-boot.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=N4glRjMM; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 65FE368112 for ; Tue, 14 Oct 2025 05:14:00 -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 gledllE4sn3e for ; Tue, 14 Oct 2025 05:14:00 -0600 (MDT) Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A7B4568122 for ; Tue, 14 Oct 2025 05:13:59 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 37A0968152 for ; Tue, 14 Oct 2025 05:13:58 -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 lVtJFJCVrQrV for ; Tue, 14 Oct 2025 05:13:58 -0600 (MDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.177; helo=mail-il1-f177.google.com; envelope-from=sjg@chromium.org; receiver=u-boot.org Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by mail.u-boot.org (Postfix) with ESMTPS id 81417680C5 for ; Tue, 14 Oct 2025 05:13:53 -0600 (MDT) Received: by mail-il1-f177.google.com with SMTP id e9e14a558f8ab-4242bb22132so50315505ab.3 for ; Tue, 14 Oct 2025 04:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1760440432; x=1761045232; darn=u-boot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hcSES6CC13e9ZPA5TlWfQRJNJt+Sq+CpmDnd1F+3r2o=; b=N4glRjMMyKUfbBNP2iE8UiWQL0Wgz23N4s+g7vQAvuRjv9vkXdcFpimkkd2xAGDdbW T9fWFaXvImMCWXv6fTNa2OTql3YCgfKOhW5fwj6HfYotI/o/YcMY1VJbaLgZYcwSx18F cCcIrpwvlmXylaq8w1SrOgee/f9ORFmM5Tcpw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760440432; x=1761045232; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hcSES6CC13e9ZPA5TlWfQRJNJt+Sq+CpmDnd1F+3r2o=; b=AoMONUqVV3R1RROETmLG5rjNs8FbzH6SEDRcZC7SxCgjYL2EkwaoLLwaoWIgFk1zyF DDtjhAwIuCQT71oNSWTj13sTV78+ITgJ+lCcwtMPP1t5VHcfUhjL+7Dx+8zVVrUX78hw qJ2l8v4HRgi09GNOf1friYnmMOVYKfkLFnCguRXt7+s5UsuPtxFbsOLZRoe40+amx8wS qTNBaBVhGdB8/nzrLsDFO9aQW4NcaXgEgVlWCMF5+swwgXasB1+Fdxz7888BC/fmC9wM vECPFYJITM4ttQKDAHPSzT+fZmVVNXB+h4EY3Ir9ZglZxgN5xrDO06nUpolZk3VoPckP sykQ== X-Gm-Message-State: AOJu0Yyyq2poXzmAqUGMAqXUK6NFgLVpb48hez4TuKx0Uc50AGr3pYi1 IGlklr4Tvome5kqpY7TFJ3jHbbl7reyJe9vLHQAZnij+1MCeOH6hvCGgxswaUXNLblZKIkevZwd OK4PFXqVb290= X-Gm-Gg: ASbGncv4QcVu1XDp/7822PEN75/tYeMofSSJCFxUNrey4u9ms3gDbp6Wh6my2gBXgLs JpPc6Cptm4WNrZ0ktJJSlCYhaYbEjnCHL84yrLDlWQK3tcp4NSQYCq5hpzXVM4akILF7smBBKUo miJ3WdS8sVCPxuWUFPVrMC46pUaKsvMF3uyfBroSWSv6KTGBdPeLzFEFBrBcmfv/ajv2C+8HlNU uMSvVbFOD4oOl/+OinF2V3ac2mTD8kLDbtADsYn7CLFCQUZnOo3hW5wViA7sUBV8sIoMqnzrp7o ziVEQ6aRVfPHSvDA/WmFRMoqjDHT5/avwXuhG8JzIvRYpbJFjpbfI2s3dlFj8JgSDc/kaPwsYKE TZcoMdE9fGa0L0+BYd9k8JJg+b8Vtt0Mdq/sOJ9z9Y3JpnQ== X-Google-Smtp-Source: AGHT+IHfUjIeBXv1PzXml+VJoYI6LPmtr1hX+i+9bfxpthD2hJ4FUV1zDZoSbskQi69TbByVeQEDhw== X-Received: by 2002:a05:6e02:2709:b0:42e:741f:b608 with SMTP id e9e14a558f8ab-42f873be948mr263524085ab.18.1760440432387; Tue, 14 Oct 2025 04:13:52 -0700 (PDT) Received: from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-430a3869174sm4608785ab.15.2025.10.14.04.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Oct 2025 04:13:51 -0700 (PDT) From: Simon Glass To: U-Boot Concept Date: Tue, 14 Oct 2025 05:12:51 -0600 Message-ID: <20251014111301.1059317-15-sjg@chromium.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251014111301.1059317-1-sjg@chromium.org> References: <20251014111301.1059317-1-sjg@chromium.org> MIME-Version: 1.0 Message-ID-Hash: FE6JHFNJRLSFCCX5OZ77XICKCX6CKJNV X-Message-ID-Hash: FE6JHFNJRLSFCCX5OZ77XICKCX6CKJNV X-MailFrom: sjg@chromium.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 X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 14/16] boot: Explicitly request that the menu position its objects List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Manual mode is not enabled by default, but we should explicitly clear it with the basic menu, since a different style may have set the flag. Set manual mode to false in bootflow_menu_set_props() Signed-off-by: Simon Glass --- boot/bootflow_menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 5f559e2220c..2f60ccd59ce 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -130,6 +130,9 @@ int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, scene_set_highlight_id(scn, OBJ_MENU); scene_obj_set_hide(scn, OBJ_POINTER, false); + /* tell the menu to lay out its objects */ + scene_obj_set_manual(scn, OBJ_MENU, false); + expo_set_mouse_enable(exp, false); exp->show_highlight = true;