diff mbox

[U-Boot,13/15] x86: kconfig: Add two options for SMBIOS manufacturer and product name

Message ID 1463906739-934-14-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit 5ce378cfcfc88284bd90cf8c02e473945aec9d35
Delegated to: Bin Meng
Headers show

Commit Message

Bin Meng May 22, 2016, 8:45 a.m. UTC
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(+)

Comments

Simon Glass May 23, 2016, 12:19 a.m. UTC | #1
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>
Bin Meng May 23, 2016, 8:19 a.m. UTC | #2
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 mbox

Patch

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