From patchwork Fri Oct 10 03:42:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 582 Return-Path: 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=1760067852; bh=L4512rUdmbbcgHYfJg4qXq/UTJWMBy2GG/8rEWZBa0g=; 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=tomGUOtqqL4nv9UTFjwpiNVNvGop9lH6BCZlTobqa9gkQjCn/RYP9JZ19OJGxtSIM XohC3Bu3LuzDfJyDWkfbDAly/gR4pPVqKDH44Uup6ClUkGoqRnw2M59WTlK06ER2vy NXOCP91TNEi87lChe1dfcpUoY7LLx8B3/uzKmq+EhOB+HLIzvVmLfcMUjPLmhhKUcs dr6gy9gpZwNW9cKQONx0b5mm3J3MxSzGTxPrnm/Mzp8gmsd8vomaMsUykqLnEOUVSf 8tNJhKans/YK12HhFrc+ar4pC4ab9DKNOo3tlr6SuGul1p4gdaN2+C1kyyUuBrIrAs weWQ/sON/inZw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A378668083 for ; Thu, 9 Oct 2025 21:44:12 -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 XfprVT9vzaOH for ; Thu, 9 Oct 2025 21:44:12 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760067852; bh=L4512rUdmbbcgHYfJg4qXq/UTJWMBy2GG/8rEWZBa0g=; 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=tomGUOtqqL4nv9UTFjwpiNVNvGop9lH6BCZlTobqa9gkQjCn/RYP9JZ19OJGxtSIM XohC3Bu3LuzDfJyDWkfbDAly/gR4pPVqKDH44Uup6ClUkGoqRnw2M59WTlK06ER2vy NXOCP91TNEi87lChe1dfcpUoY7LLx8B3/uzKmq+EhOB+HLIzvVmLfcMUjPLmhhKUcs dr6gy9gpZwNW9cKQONx0b5mm3J3MxSzGTxPrnm/Mzp8gmsd8vomaMsUykqLnEOUVSf 8tNJhKans/YK12HhFrc+ar4pC4ab9DKNOo3tlr6SuGul1p4gdaN2+C1kyyUuBrIrAs weWQ/sON/inZw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9363C6807B for ; Thu, 9 Oct 2025 21:44:12 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760067850; bh=rPVOnWp72H3WGPoYgg8sU3ny2kITGQeLGMot2SE9avY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bnE0WENS0ftLOfp4qOVUz5F72Dle/AEnTxFQJFcIMDQsfc7uIxeZuLgE8VyZPtZHB CoMtjYVorxLZMbqYnPG7T/Q4/0nKruO6wDerEzFIITIca1ZxQMpXjeAmrHNoD7trwg llw62Tr2+xJU51/3hmMdgyF4myMmHWaXQBMGsIL2h1r+lmpSmr2Zzk+VZdSF9wDTKw TjvzvOhisf1+XykLZbW66D7sOaO1y7of7NbNXVzvpCHi6XKRf8xgNYZMSs4rdQSEwM 78xyTDfflDuLLO09+bt5EmMQPS/kdYyJ1WrivRhzyqmRdUwRRsvJr2PNucSdLY6ypK 2v8buLm07VbBA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 97A2D68030; Thu, 9 Oct 2025 21:44:10 -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 he49Jmjv4Ios; Thu, 9 Oct 2025 21:44:10 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1760067849; bh=32jGJNwiAz1f3g5H0eAElHBZEsj2F/nubxKCc7EPrdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TZdgrj8i/2kL367ssybmOmgq+kLh2vnbaARYiBtxLlwp9PXZL7KXxDrpFMqGmyFb9 TKiTub1AqUXi8sHCciVG6bdyJvac2BT10jZHMkx+ARgxGjtlvuZi3m0o0QUUWwuBYG wCDjCPOjl7ZilT8Sahn4Q6Jb+q8ucCTUxpd+y2BE+7QGqe/3PsNCno+pKOF9k4KoRB zEiyvP3/DG1GAWaWvU14tzTkZoCEvK2P+yh2JXmvGUGn61MEvig4e2dAAT8ocvWOQY lM+qXbQjRsbVTGIo1dI/qkuvDdOm38fFRrzKu0Hp3xo5OgNvbaaEABCV13Um1K/EYY UxKC+/3E3syrQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4FD1967FED; Thu, 9 Oct 2025 21:44:09 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Thu, 9 Oct 2025 21:42:45 -0600 Message-ID: <20251010034255.1099728-18-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251010034255.1099728-1-sjg@u-boot.org> References: <20251010034255.1099728-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 5U6MFXODIA5N2FEKGF5TV454XHLRUGND X-Message-ID-Hash: 5U6MFXODIA5N2FEKGF5TV454XHLRUGND 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: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 17/18] expo: Add a box around each item List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Some layouts show a box around each menu item. Add an item for that. For now this is not used in the standard layout. Signed-off-by: Simon Glass --- boot/bootflow_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootflow_internal.h b/boot/bootflow_internal.h index 8731e9950fd..dc5f587e83e 100644 --- a/boot/bootflow_internal.h +++ b/boot/bootflow_internal.h @@ -24,6 +24,7 @@ * @ITEM_KEY: Keypress to select this item, e.g. "1" * @ITEM_PREVIEW: Preview image for the OS * @ITEM_VERSION_NAME: Distro's name for the version, e.g. 'Noble Numbat' + * @ITEM_BOX: Box around the item (normally hidden) */ enum boomenu_id_t { START, @@ -66,6 +67,7 @@ enum boomenu_id_t { ITEM_KEY = 900, ITEM_PREVIEW = 1000, ITEM_VERSION_NAME = 1100, + ITEM_BOX = 1200, /* left margin for the main menu */ MARGIN_LEFT = 100,