Message ID | 1463906739-934-14-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Accepted |
Commit | 5ce378cfcfc88284bd90cf8c02e473945aec9d35 |
Delegated to: | Bin Meng |
Headers | show |
On 22 May 2016 at 02:45, Bin Meng <bmeng.cn@gmail.com> wrote: > This introduces two Kconfig options to be used by SMBIOS tables: > board manufacturer and product name. > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > --- > > arch/x86/Kconfig | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On Mon, May 23, 2016 at 8:19 AM, Simon Glass <sjg@chromium.org> wrote: > On 22 May 2016 at 02:45, Bin Meng <bmeng.cn@gmail.com> wrote: >> This introduces two Kconfig options to be used by SMBIOS tables: >> board manufacturer and product name. >> >> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> >> --- >> >> arch/x86/Kconfig | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) > > Reviewed-by: Simon Glass <sjg@chromium.org> applied to u-boot-x86, thanks!
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c57b99d..3c015c7 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -469,6 +469,22 @@ config GENERATE_SMBIOS_TABLE Check http://www.dmtf.org/standards/smbios for details. +config SMBIOS_MANUFACTURER + string "SMBIOS Manufacturer" + depends on GENERATE_SMBIOS_TABLE + default SYS_VENDOR + help + The board manufacturer to store in SMBIOS structures. + Change this to override the default one (CONFIG_SYS_VENDOR). + +config SMBIOS_PRODUCT_NAME + string "SMBIOS Product Name" + depends on GENERATE_SMBIOS_TABLE + default SYS_BOARD + help + The product name to store in SMBIOS structures. + Change this to override the default one (CONFIG_SYS_BOARD). + endmenu config MAX_PIRQ_LINKS
This introduces two Kconfig options to be used by SMBIOS tables: board manufacturer and product name. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- arch/x86/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)