aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-12 19:58:29 -0700
committerTom Rini <trini@konsulko.com>2023-11-28 12:53:04 -0500
commite1302b3e305890cbf1c3bdf13321d1a3476dfae7 (patch)
tree75ef38bdbef0e8aee749f89492ce6d6d284784eb /arch/x86/cpu
parent6f646d13f4308fcea0b73d46907ad11036afebd8 (diff)
downloadu-boot-e1302b3e305890cbf1c3bdf13321d1a3476dfae7.zip
u-boot-e1302b3e305890cbf1c3bdf13321d1a3476dfae7.tar.gz
u-boot-e1302b3e305890cbf1c3bdf13321d1a3476dfae7.tar.bz2
x86: coreboot: Add a sysinfo driver
Create a sysinfo driver to avoid needing a custom checkboard() function. With this the following information is printed when booting from coreboot under QEMU: Model: Standard PC (i440FX + PIIX, 1996) Manufacturer: QEMU Prior-stage version: 4.21-885-g2a87ef1eca56 Prior-stage date: 11/11/2023 Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/coreboot/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/Kconfig b/arch/x86/cpu/coreboot/Kconfig
index 178f8ad..085302c 100644
--- a/arch/x86/cpu/coreboot/Kconfig
+++ b/arch/x86/cpu/coreboot/Kconfig
@@ -27,5 +27,7 @@ config SYS_COREBOOT
imply X86_TSC_READ_BASE
imply USE_PREBOOT
select BINMAN if X86_64
+ select SYSINFO
+ imply SYSINFO_EXTRA
endif