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 6A243C61D92 for ; Tue, 21 Nov 2023 11:36:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8E58A875A1; Tue, 21 Nov 2023 12:36:13 +0100 (CET) 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="e3Ri46G+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 62C0E87563; Tue, 21 Nov 2023 12:36:10 +0100 (CET) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 4702F87498 for ; Tue, 21 Nov 2023 12:36:06 +0100 (CET) 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-io1-xd31.google.com with SMTP id ca18e2360f4ac-7b34ec3e44fso3463539f.3 for ; Tue, 21 Nov 2023 03:36:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1700566565; x=1701171365; 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=EpuN2vlvQOYmxvVUvjBANWARYoE21aWTPx1Tk5RAYG8=; b=e3Ri46G+e2+vRAe8VJtnDbB8jT5ISm0Y+vqP82RAt28OIYdTDqDIDeWevpjiUSEjco LawYVIpLZlt3M3evl4OB15n1BPLoeMZ8E5iRiKAQyVyXtmrASjN7ioO4XgB0JDTFYPyM fLUhGebknKhmo6+nK8GpMr3dqmzrk2Me8HYj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700566565; x=1701171365; 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=EpuN2vlvQOYmxvVUvjBANWARYoE21aWTPx1Tk5RAYG8=; b=hEKtpzWKrcuTKUJ1wC/TkjombQnPm0+qrSDS2iT98Vbsu27CKsGcTYMw/wOLwdKRNO KsEYup6yQubivXAgYdlae7sinjwGJ73nWlp/yOxUS55lT/gdTNGHbCMtUcHRs2GNnUg/ 64lGcUL7CIKFEPuvRK3vYBvjt71uYX1t1M8hSGxNrnZ7IrGnArUcHRmPjXQf/T6YMcAW JRvTDqf2ZL6PGrCqsWcVKtsZug5nryAKKdbmaWNsYJIkV1QoGOEAtn5vZx6OLb0pycdl 1Dmbwm2qk9kHWzlJTp54sWxprfIlSijEQGGT7rqarlfKzplUjKHrhhuIZvH58YNeJgkZ 1g9A== X-Gm-Message-State: AOJu0Yw1S6RP7+IOEzbTRaa7aPCzi4MIVFGld90LM8VzTQyDfsGvSQzU /fn1dnIfwruqmz9gYSU2IQpqrBGI+WGxz/hVu1buHA== X-Google-Smtp-Source: AGHT+IHAXXdHec+5Zwt9I+GaqBB56NfeQmxYw5F2z6CNTS9eEjiKj9KBXA15JZ4gDPQA2vmZo0gtRA== X-Received: by 2002:a05:6602:3b90:b0:787:8fc:75d8 with SMTP id dm16-20020a0566023b9000b0078708fc75d8mr11927757iob.9.1700566564922; Tue, 21 Nov 2023 03:36:04 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id h10-20020a0566380f8a00b0045bb982a3d2sm2559190jal.60.2023.11.21.03.36.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 03:36:04 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass Subject: [PATCH 2/7] efi: Show the vendor in helloworld Date: Tue, 21 Nov 2023 04:35:48 -0700 Message-ID: <20231121113557.800353-3-sjg@chromium.org> X-Mailer: git-send-email 2.43.0.rc1.413.gea7ed67945-goog In-Reply-To: <20231121113557.800353-1-sjg@chromium.org> References: <20231121113557.800353-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 since it useful to see that. Signed-off-by: Simon Glass --- 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 bd72822c0b72..1135d3a3c37e 100644 --- a/lib/efi_loader/helloworld.c +++ b/lib/efi_loader/helloworld.c @@ -234,6 +234,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"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.rc1.413.gea7ed67945-goog