Attention is currently required from: Angel Pons, Maximilian Brune.
Benjamin Doron has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74121 )
Change subject: [RFC] drivers/option: Add option list in cbtable
......................................................................
Patch Set 1:
(1 comment)
File src/drivers/option/cfr.c:
https://review.coreboot.org/c/coreboot/+/74121/comment/83dc5688_e73e6c5a
PS1, Line 127: write_body(header);
:
: menu->size = sm_compute_record_size((char *)menu, header);
> A thought: if we let the boot-state machine do this, then silicon, platform drivers, board code, etc […]
I should be sleeping at 2am instead - this would fragment the CFR into 'actual' tags rather than one effective structure. I still like the theory of it, but implementing it with CBTABLE rules would mean gathering up forms. Besides, we currently offload the option table responsibility to the board.
Is it worth dedicated `CB_TAG_CFR_{SILICON,BOARD}_FORM` tags? We have to exclude drivers.
--
To view, visit https://review.coreboot.org/c/coreboot/+/74121
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I304de7d26d79245a2e31a6d01f6c5643b31cb772
Gerrit-Change-Number: 74121
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Daniel Maslowski <info(a)orangecms.org>
Gerrit-CC: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Comment-Date: Sat, 15 Apr 2023 16:15:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Sean Rhodes, Jason Nien, Patrick Rudolph, Caveh Jalali, Christian Walter, Martin Roth, Kyösti Mälkki, Boris Mittelberg.
Hello build bot (Jenkins), Sean Rhodes, Jason Nien, Patrick Rudolph, Caveh Jalali, Christian Walter, Martin Roth, Boris Mittelberg,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/74452
to look at the new patch set (#2).
Change subject: SMBIOS: Move identification strings
......................................................................
SMBIOS: Move identification strings
This improve ccache hit rate, as the strings are only
expanded in for object lib/identity.o.
Change-Id: I28a8199b4a5482984dd7fdde67e90acca5af5ca6
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/arch/x86/smbios.c
M src/arch/x86/smbios_defaults.c
M src/drivers/generic/cbfs-serial/cbfs-serial.c
M src/ec/google/chromeec/ec_smbios.c
M src/include/identity.h
M src/lib/identity.c
M src/mainboard/emulation/qemu-i440fx/fw_cfg.c
M src/mainboard/google/kahlee/variants/baseboard/mainboard.c
M src/mainboard/google/poppy/variants/nami/mainboard.c
M src/mainboard/prodrive/hermes/smbios.c
M src/mainboard/starlabs/lite/smbios.c
M src/mainboard/starlabs/starbook/smbios.c
12 files changed, 63 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/74452/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/74452
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I28a8199b4a5482984dd7fdde67e90acca5af5ca6
Gerrit-Change-Number: 74452
Gerrit-PatchSet: 2
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Boris Mittelberg <bmbm(a)google.com>
Gerrit-Reviewer: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Boris Mittelberg <bmbm(a)google.com>
Gerrit-MessageType: newpatchset
Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74451 )
Change subject: SMBIOS: Group Kconfig dependency
......................................................................
SMBIOS: Group Kconfig dependency
Change-Id: I5a75a7230fd78c0a9926adc491059f55647cc9a3
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/Kconfig
1 file changed, 15 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/74451/1
diff --git a/src/Kconfig b/src/Kconfig
index e35df43..3b2b29a 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -883,10 +883,11 @@
bool
default n
+if GENERATE_SMBIOS_TABLES
+
config MAINBOARD_SERIAL_NUMBER
prompt "SMBIOS Serial Number" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default "123456789"
help
The Serial Number to store in SMBIOS structures.
@@ -894,7 +895,6 @@
config MAINBOARD_VERSION
prompt "SMBIOS Version Number" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default "1.0"
help
The Version Number to store in SMBIOS structures.
@@ -902,7 +902,6 @@
config MAINBOARD_SMBIOS_MANUFACTURER
prompt "SMBIOS Manufacturer" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default MAINBOARD_VENDOR
help
Override the default Manufacturer stored in SMBIOS structures.
@@ -910,7 +909,6 @@
config MAINBOARD_SMBIOS_PRODUCT_NAME
prompt "SMBIOS Product name" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default MAINBOARD_PART_NUMBER
help
Override the default Product name stored in SMBIOS structures.
@@ -918,13 +916,15 @@
config VPD_SMBIOS_VERSION
bool "Populates SMBIOS type 0 version from the VPD_RO variable 'firmware_version'"
default n
- depends on VPD && GENERATE_SMBIOS_TABLES
+ depends on VPD
help
Selecting this option will read firmware_version from
VPD_RO and override SMBIOS type 0 version. One special
scenario of using this feature is to assign a BIOS version
to a coreboot image without the need to rebuild from source.
+endif
+
endmenu
source "payloads/Kconfig"
--
To view, visit https://review.coreboot.org/c/coreboot/+/74451
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5a75a7230fd78c0a9926adc491059f55647cc9a3
Gerrit-Change-Number: 74451
Gerrit-PatchSet: 1
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-MessageType: newchange