From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] x86: coreboot: Add default TSC frequency in the device tree
Date: Fri, 10 Aug 2018 02:39:37 -0700 [thread overview]
Message-ID: <1533893978-12838-5-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1533893978-12838-1-git-send-email-bmeng.cn@gmail.com>
It was observed sometimes U-Boot as the coreboot payload fails to
boot on QEMU. This is because TSC calibration fails with no valid
frequency. This adds default TSC frequency in the device tree.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
arch/x86/dts/coreboot.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/x86/dts/coreboot.dts b/arch/x86/dts/coreboot.dts
index a94f781..e212f3d 100644
--- a/arch/x86/dts/coreboot.dts
+++ b/arch/x86/dts/coreboot.dts
@@ -30,6 +30,10 @@
stdout-path = "/serial";
};
+ tsc-timer {
+ clock-frequency = <1000000000>;
+ };
+
pci {
compatible = "pci-x86";
u-boot,dm-pre-reloc;
--
2.7.4
next prev parent reply other threads:[~2018-08-10 9:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-10 9:39 [U-Boot] [PATCH 1/6] x86: coreboot: Add generic coreboot payload support Bin Meng
2018-08-10 9:39 ` [U-Boot] [PATCH 2/6] x86: Remove support for Advantech SOM-6896 Bin Meng
2018-08-10 12:43 ` George McCollister
2018-08-20 5:57 ` Bin Meng
2018-08-10 9:39 ` [U-Boot] [PATCH 3/6] x86: dts: Remove coreboot_fb.dtsi Bin Meng
2018-08-17 12:48 ` Simon Glass
2018-08-20 5:57 ` Bin Meng
2018-08-10 9:39 ` [U-Boot] [PATCH 4/6] x86: tsc: Try hardware calibration first Bin Meng
2018-08-14 6:54 ` Christian Gmeiner
2018-08-14 7:07 ` Bin Meng
2018-08-14 8:35 ` Christian Gmeiner
2018-08-20 5:57 ` Bin Meng
2018-08-10 9:39 ` Bin Meng [this message]
2018-08-14 6:45 ` [U-Boot] [PATCH 5/6] x86: coreboot: Add default TSC frequency in the device tree Christian Gmeiner
2018-08-20 5:57 ` Bin Meng
2018-08-10 9:39 ` [U-Boot] [PATCH 6/6] x86: efi: payload: " Bin Meng
2018-08-17 12:48 ` Simon Glass
2018-08-20 5:57 ` Bin Meng
2018-08-14 6:39 ` [U-Boot] [PATCH 1/6] x86: coreboot: Add generic coreboot payload support Christian Gmeiner
2018-08-20 5:56 ` Bin Meng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533893978-12838-5-git-send-email-bmeng.cn@gmail.com \
--to=bmeng.cn@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox