From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62DD7CDE03C for ; Thu, 26 Sep 2024 22:01:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DFFF488EFF; Fri, 27 Sep 2024 00:01:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="WwwDXyFV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D25888E5F; Fri, 27 Sep 2024 00:01:15 +0200 (CEST) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 12E5388E5F for ; Fri, 27 Sep 2024 00:01:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-6cb2cba60e1so8740716d6.3 for ; Thu, 26 Sep 2024 15:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727388071; x=1727992871; darn=lists.denx.de; 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=Eyv/zA4gHms1N5judyt8wLYPxDKAopnpE2qsloDKPVQ=; b=WwwDXyFVG5tEMKVBr2SvxfaX6Dp4euytau0lwr0gopG5fpRWeBVSS43h8WdeF+AESK 2D+PJS+fWbLLEUAnpmjYZy/WI+MBDpje9yKvnsxr12e6rv8Pr0SS0xufFvwrDlPBrQgJ 6yBC9CKFvAdiBPWW8su92vT7bRXtQqsSBfHXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727388071; x=1727992871; 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=Eyv/zA4gHms1N5judyt8wLYPxDKAopnpE2qsloDKPVQ=; b=Mw5UAVnP+MuPNlv/e+4gUWAvLZRVX+ZWS8dgej2MdISwK4UHroMMz0dPINx3zEfPEJ UeAhNmV6CNi523X84DFsU1D31jMNNGDjxCCv+xIPJj5lr5rbCBSfw8MrSs/+k++H/tMu SFjsqj6GGf4h5TyyTA7pxv0p3Xo2cS+PdQxjdinrKhIXHCiCBiwHXPMwPR28Du40r5r1 CVoEl+XnOJt6wzel8SYCOFyJIsdAI3y3iMWl/OgY0KkyX9++P7XnVldHk4eDlaC4VKVO t0PfMlfX/lLtYFblABkljhplRLfm+3avyCP9cNiFiGsXMZXvJYvdL2qdD37sxymKCOKe s2MA== X-Gm-Message-State: AOJu0YxGqr7wN08d7E+73zj0DbZwBeVLI9BsPLlp7lAQ2ybMshmuEmvY 2TUxtWu5aunUaXD5e8q7AtOZxBctwrh8xjqx2CWIduS2RmCkVbke1wisdyxk0JPy9bJhGuQHaH1 om/9xuqc= X-Google-Smtp-Source: AGHT+IFqIZeLY6XjIVuZ6FoVijPaNtVri5l+FR6Jdx5ENOQkWrnU6kFo6RATUfNORVucTyTgorfjJg== X-Received: by 2002:a05:6214:451f:b0:6cb:3690:6260 with SMTP id 6a1803df08f44-6cb3b5cb281mr14639446d6.15.1727388071294; Thu, 26 Sep 2024 15:01:11 -0700 (PDT) Received: from chromium.org ([205.220.129.31]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cb3b632366sm3079696d6.71.2024.09.26.15.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 15:01:10 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Ilias Apalodimas , Simon Glass Subject: [PATCH v6 05/12] efi_loader: Show the vendor in helloworld Date: Thu, 26 Sep 2024 23:59:35 +0200 Message-ID: <20240926215950.1265143-6-sjg@chromium.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240926215950.1265143-1-sjg@chromium.org> References: <20240926215950.1265143-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Show the vendor name so it is clear which firmware is being used, e.g. whether U-Boot is providing the boot services. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Reword commit message - Use 'Firmware vendor' instead of just 'Vendor' lib/efi_loader/helloworld.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index 586177de0c8..c4d2afcb40a 100644 --- a/lib/efi_loader/helloworld.c +++ b/lib/efi_loader/helloworld.c @@ -237,6 +237,9 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle, (con_out, u"Missing device path for device handle\r\n"); goto out; } + con_out->output_string(con_out, u"Firmware vendor: "); + con_out->output_string(con_out, systab->fw_vendor); + con_out->output_string(con_out, u"\n"); con_out->output_string(con_out, u"Boot device: "); ret = print_device_path(device_path, device_path_to_text); if (ret != EFI_SUCCESS) -- 2.43.0