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 4EC95C636CC for ; Sun, 5 Feb 2023 19:56:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 829C08576A; Sun, 5 Feb 2023 20:56:48 +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="hkeNWpHj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C84A985786; Sun, 5 Feb 2023 20:46:51 +0100 (CET) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 EA65085794 for ; Sun, 5 Feb 2023 20:46:43 +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-xd2a.google.com with SMTP id j17so1912026ioa.9 for ; Sun, 05 Feb 2023 11:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=QAx3kInEASwQXfAlA4OvdzYBsPhuR0728XVY36dkEAk=; b=hkeNWpHj0ktbKHJgFj/cgOJz3ec2LgrAgqV9oJghwr2t4Si+bxXMndl70dcyUnSBys iq1iubS+MZNHSWaOQtVIPMxJV+nRCw9jma8flhUA7JbupyytZ9CJ+lo/kWTljYitRKtC O1x1+p0+0Gzmq0ZMzeel8fjJoSRt+6UyrUKKg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QAx3kInEASwQXfAlA4OvdzYBsPhuR0728XVY36dkEAk=; b=kK4xhxbslLi29R9XgJRvNJPW6fpLsAvnh7W6cN+MsbSmS2GHnXv4g13XWs3NToUYJs i6pCWQFRymtnrtc7DpxJYh8ozWdI9ZXihFdOCKqKpIAHnUDawfRKW8zFRbjEF/3t/AC5 qZe1CApylwfTi/0GB7bHHak0JekRBKYEmbgxU2lDxQOIamWOkx8O6iYYsAyfMeIeKuj4 lAKSwFD2AmboBL0kLH/zI7lxXpOHIOYJ8GGyqO8zj2WbjaPtDq6ocVI7CHh6D2K6lYT7 XyppSIyqrJlNnJvFYmi0ixG9SIQf7fjr8DiiD+2byXDyAp6KzviCu9QyRo8LcuRBr2A8 7V9g== X-Gm-Message-State: AO0yUKWQFgOwID51f1qz//8MG8hvpGYpQWCq/tCyRwamoIwA8lyHpYg3 9KBc91ZKOI6aTHEmBacrrGSMEf49QCEWgQLu X-Google-Smtp-Source: AK7set947G6tFBDv1FOD3XXaxXARRm9aiujSe3fCZ6pR6Lx9Fq0NRrtZ+zfUEgntzSjjRLw13fmTGw== X-Received: by 2002:a5d:8456:0:b0:71c:1516:1b09 with SMTP id w22-20020a5d8456000000b0071c15161b09mr10554261ior.0.1675626403423; Sun, 05 Feb 2023 11:46:43 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id p13-20020a6b8d0d000000b007219624f89fsm2594282iod.11.2023.02.05.11.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 11:46:43 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Anatolij Gustschin , Heinrich Schuchardt , Simon Glass , Bin Meng Subject: [PATCH 04/11] x86: Add a few more items to bdinfo Date: Sun, 5 Feb 2023 12:46:20 -0700 Message-Id: <20230205194627.203961-5-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205194627.203961-1-sjg@chromium.org> References: <20230205194627.203961-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.6 at phobos.denx.de X-Virus-Status: Clean Add the timer and vendor/model information. Signed-off-by: Simon Glass --- arch/x86/lib/bdinfo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c index 0cb79b01bd3..896de37dce4 100644 --- a/arch/x86/lib/bdinfo.c +++ b/arch/x86/lib/bdinfo.c @@ -16,6 +16,10 @@ DECLARE_GLOBAL_DATA_PTR; void arch_print_bdinfo(void) { bdinfo_print_num_l("prev table", gd->arch.table); + bdinfo_print_num_l("clock_rate", gd->arch.clock_rate); + bdinfo_print_num_l("tsc_base", gd->arch.tsc_base); + bdinfo_print_num_l("vendor", gd->arch.x86_vendor); + bdinfo_print_num_l("model", gd->arch.x86_model); if (IS_ENABLED(CONFIG_EFI_STUB)) efi_show_bdinfo(); -- 2.39.1.519.gcb327c4b5f-goog