diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-28 12:53:14 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-28 12:53:14 -0500 |
commit | 66c21738fd5ac3f23929911dd7aa38e1a3671eb9 (patch) | |
tree | 9a6685687069a3c48e138a47ed0fe3681a4995b2 /arch/x86 | |
parent | d6e052c6151e89d34af2f6337c5cded1b12dfdb8 (diff) | |
parent | e1302b3e305890cbf1c3bdf13321d1a3476dfae7 (diff) | |
download | u-boot-66c21738fd5ac3f23929911dd7aa38e1a3671eb9.zip u-boot-66c21738fd5ac3f23929911dd7aa38e1a3671eb9.tar.gz u-boot-66c21738fd5ac3f23929911dd7aa38e1a3671eb9.tar.bz2 |
Merge patch series "sysinfo: Expand sysinfo with some more banner information"
To quote the author:
The show_board_info() function was adjusted to weak so that it could be
entirely replaced with a board-specific implementation.
The intended way for boards to provide their own information is via a
sysinfo driver. But currently there is no way to show anything other
than the model name.
This series adds support for showing a few more items, in a way that is
easy for boards to extend.
Since there is already a weak checkboard() function, we don't need to
have two levels of weak function here. So this series drops the weak
attribute from show_board_info()
Existing boards will see a slight change in output, in that the model
name will appear first, before any custom output. If that is a problem,
then the solution is to implement a sysinfo driver for the board.
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/cpu/coreboot/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86/dts/coreboot.dts | 4 |
2 files changed, 6 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 diff --git a/arch/x86/dts/coreboot.dts b/arch/x86/dts/coreboot.dts index 0eb31ca..dfce7c2 100644 --- a/arch/x86/dts/coreboot.dts +++ b/arch/x86/dts/coreboot.dts @@ -45,4 +45,8 @@ bootph-some-ram; compatible = "coreboot-fb"; }; + + sysinfo { + compatible = "coreboot,sysinfo"; + }; }; |