Message ID | 20240815202424.766778-8-sjg@chromium.org |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=FsMPqwNK; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlGpW6mlhz1yXl for <incoming@patchwork.ozlabs.org>; Fri, 16 Aug 2024 06:25:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D180C88B06; Thu, 15 Aug 2024 22:24:47 +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="FsMPqwNK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2741B88AE8; Thu, 15 Aug 2024 22:24:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 1BF9788ABA for <u-boot@lists.denx.de>; Thu, 15 Aug 2024 22:24:42 +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-il1-x133.google.com with SMTP id e9e14a558f8ab-396e2d21812so5372975ab.2 for <u-boot@lists.denx.de>; Thu, 15 Aug 2024 13:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1723753473; x=1724358273; 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=bcP6BtqafScc0NdTztSLCjfNhuuO7jN51LuoNSQ0VeE=; b=FsMPqwNKRdIbuWUaHrK/WMjCpd9HAltRJBhpNqWEoD9ZRLcMExb4M6tKpAPCDdeAnC hNyJuQqCr0aeVCBqXAxuo+reH0EClZm5yEnqV4J0588/qb9lg0uLw26bChye0D6j854e 5ng1in2K1DQybzjF3398TrvDSK8OE54bh62wM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723753473; x=1724358273; 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=bcP6BtqafScc0NdTztSLCjfNhuuO7jN51LuoNSQ0VeE=; b=P00xe0cvkgcrIwujFWuyNzp9Ki9geiTtHkvXK6Nv2+1XtEv56lC2qgCFqMWM79D09Q 1sRd0REy66HDM/xcZf+lalmfK8i3CjkGJhbGLPoe3BcWdcW4awQC5rUIA+B4uchsWVrM smrswcpj5U3txq3anGvorgrOwwSgV7UL/bvJRP8vPRhpPXbUyMsoeURW50+Abv/ADyG2 QHUx6XMF8ewhrtsdVgjo8/2R3+MdJoxPPh3kSjZ2HZITctXa/PqnFzfAgI5vAFa6r0Is bGRYcpV2V1W/1gqvW+06DsEfrCOD4frVAjjgIrfe6J2eFrIY2KWWRhim7vs7bDWf3qsh iruQ== X-Gm-Message-State: AOJu0YwbZpjhTwObQNnGGDVkPFR6YEUQrd4tWTgqfuo2duKA4kn7aIUo tscRcFvPDwbM0XoTmFbui6J28019GD3TI8JL9yKWkcHCUeDreU/y5aF/h0fk4zlQmnRh3HieGbb oXA== X-Google-Smtp-Source: AGHT+IEaby10u4nn1ioHJXr/yb6OVHEKdnJrqmdX2nG8CkTKGukrEXm1Hj6lm2ujzQxJ2vm6EWuVhA== X-Received: by 2002:a05:6e02:1e08:b0:397:a41d:aa8e with SMTP id e9e14a558f8ab-39d26c42d03mr16151625ab.0.1723753473550; Thu, 15 Aug 2024 13:24:33 -0700 (PDT) Received: from chromium.org (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39d1ead5597sm8144915ab.7.2024.08.15.13.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 13:24:33 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v4 07/14] efi_loader: Show the vendor in helloworld Date: Thu, 15 Aug 2024 14:24:17 -0600 Message-Id: <20240815202424.766778-8-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240815202424.766778-1-sjg@chromium.org> References: <20240815202424.766778-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi: Add a test for EFI bootmeth
|
expand
|
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)
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 <sjg@chromium.org> --- (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(+)