| Message ID | 20250925174753.3429102-2-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=1758822495; bh=vl408E4LNDvVaput0dcrh6r8a+HqXnJAdtX2mN0xWZE=; 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=JqLTCBzwOknpv2q4nla3nZloD4gPaktWOrM8yILUhablSAqrjyZfNJM8SF8w2JDaJ RIOZ3/V4jUMbI/OwjeGHfptek8Ju32EHd53g6nF0Y6wNUEbOiQu64fVAaQuUn30gma tOeaXjoY8Qk2xKunF6L75LFPCBTOf6EQUlJhtsdJ0iJKzaYX9kK8zc+b2mEPv5bi7p s+A5ZPoAXA5a3ECdAdojbxpAwYR6A2TBj4p50Bc1Fa80jCnBaiSQIVu+RfXjEl83Xa IF1iywl+digC48ObKn5JPBIsjSz9DkCcjTYuiL0vUww4zdLFfK6vxJuKTvHSdwhKTz +rEkEK/lf+uxg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 534D167D90 for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:15 -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 vlYF_4nDNZXV for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:15 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822495; bh=vl408E4LNDvVaput0dcrh6r8a+HqXnJAdtX2mN0xWZE=; 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=JqLTCBzwOknpv2q4nla3nZloD4gPaktWOrM8yILUhablSAqrjyZfNJM8SF8w2JDaJ RIOZ3/V4jUMbI/OwjeGHfptek8Ju32EHd53g6nF0Y6wNUEbOiQu64fVAaQuUn30gma tOeaXjoY8Qk2xKunF6L75LFPCBTOf6EQUlJhtsdJ0iJKzaYX9kK8zc+b2mEPv5bi7p s+A5ZPoAXA5a3ECdAdojbxpAwYR6A2TBj4p50Bc1Fa80jCnBaiSQIVu+RfXjEl83Xa IF1iywl+digC48ObKn5JPBIsjSz9DkCcjTYuiL0vUww4zdLFfK6vxJuKTvHSdwhKTz +rEkEK/lf+uxg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4334767D93 for <u-boot-concept@u-boot.org>; Thu, 25 Sep 2025 11:48:15 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822493; bh=BB6nbJwbzTIBNCqO6ZuhVZhP9S1zSyvEzx6tPcgwn5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eG3hRNINoDLza1Ki5w5WZMcnAO4FcHLjgA4cdZGKgpx7o9OuX2JKM0Zph5s0p8Tq6 aLC60tc6tnUByJSE2UlF6d8L4NmUY+iZNMeMaTF+ib3bto2GjbKPE4VNUG+OgP91yT ZYQPCR5lzODmhA/Vs6aa/QiEghCXzh5WCgoO+jRMHDd3tJKMxbVJCYFAE6ay/5RnAG JS1QIhh1rXQyPld6zhS5N7uRwx2VjYfFLNmu5X5GBj0yFFpQQEP/rVvFT0YqlBlbzv Gmuop70Esr7RYKg4RlGV9V2TGbRTy46bwUKZRFrteLRMflQEHMJEik7Z4Gb6zlgNFI ZKFk1+MaLKruw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CFB9E67D76; Thu, 25 Sep 2025 11:48:13 -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 y-WQnzvQIJWW; Thu, 25 Sep 2025 11:48:13 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758822489; bh=43w4ex/kYQ4jjBjbjQzqgzmNZ2GfhFn89glNCKK9yzQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Szh8ZG3EhjCXfsOmzedzTaSC7g4zKVNzzA2jFbtXkieaxYIICwbOqioycWj65i2oS ykP6dwa4mYzNwgA5ulMnV/vyagnGm7AU2LHqVoXVtHzY5kxckVWnq/EZQOEhiPPUtK ur+WO98RDEGAfU3rJEbQWqcS7iwquumF6DWhvi4NDKZABsgYgtBgnNvD1APbDH3SLX LZZ16DPUdW1bsWgqraQ7YOfxlq8+7//f8NZ0dXCxyATTYJzBPVL+lE1tKhqKFvAbxF m1k6rYeUqtoK6FQhtv6EZQsbeLfHHX1riWYuTnAz27hwDCUWRawPIlUL12jviId3Dz AsxyzkNWUflgA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 8603467CA2; Thu, 25 Sep 2025 11:48:09 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 25 Sep 2025 11:47:25 -0600 Message-ID: <20250925174753.3429102-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250925174753.3429102-1-sjg@u-boot.org> References: <20250925174753.3429102-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: CVL4FXE4KAURSGUKJVGO3B3FBR7QOG3U X-Message-ID-Hash: CVL4FXE4KAURSGUKJVGO3B3FBR7QOG3U 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 <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/22] bdinfo: Show the flags 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/CVL4FXE4KAURSGUKJVGO3B3FBR7QOG3U/> 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: Tidy up some commands and provide a keyboard driver
|
|
Commit Message
Simon Glass
Sept. 25, 2025, 5:47 p.m. UTC
From: Simon Glass <sjg@chromium.org> The flags contain lots of little pieces of information. Print them out with the bdinfo command, so the user can look them up if needed. Signed-off-by: Simon Glass <sjg@chromium.org> --- cmd/bdinfo.c | 1 + test/cmd/bdinfo.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index a70a1c59f51..69d9c3cfe4d 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -138,6 +138,7 @@ static int bdinfo_print_all(struct bd_info *bd) #if CONFIG_IS_ENABLED(MULTI_DTB_FIT) lprint_num_l("multi_dtb_fit", (ulong)gd->multi_dtb_fit); #endif + lprint_num_l("flags", gd->flags); if (IS_ENABLED(CONFIG_LMB) && gd->fdt_blob) { lmb_dump_all_force(); if (IS_ENABLED(CONFIG_OF_REAL)) diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index 03d9846de10..6b4cfa96e4d 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -191,6 +191,7 @@ static int bdinfo_test_all(struct unit_test_state *uts) #if CONFIG_IS_ENABLED(MULTI_DTB_FIT) ut_assertok(test_num_l(uts, "multi_dtb_fit", (ulong)gd->multi_dtb_fit)); #endif + ut_assertok(test_num_l(uts, "flags", gd->flags)); if (IS_ENABLED(CONFIG_LMB) && gd->fdt_blob) { ut_assertok(lmb_test_dump_all(uts));