x86: galileo: Override SMBIOS product name
authorBin Meng <bmeng.cn@gmail.com>
Sun, 22 May 2016 08:45:39 +0000 (01:45 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:27:43 +0000 (15:27 +0800)
Override the default product name U-Boot reports in the SMBIOS
table, to be compatible with the Intel provided UEFI BIOS, as
Linux kernel drivers (drivers/mfd/intel_quark_i2c_gpio.c and
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c) make use of
it to do different board level configuration.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/intel/galileo/Kconfig

index 6515bac..87a0ec4 100644 (file)
@@ -21,4 +21,15 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        select INTEL_QUARK
        select BOARD_ROMSIZE_KB_1024
 
+config SMBIOS_PRODUCT_NAME
+       default "GalileoGen2"
+       help
+         Override the default product name U-Boot reports in the SMBIOS
+         table, to be compatible with the Intel provided UEFI BIOS, as
+         Linux kernel drivers (drivers/mfd/intel_quark_i2c_gpio.c and
+         drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c) make use of
+         it to do different board level configuration.
+
+         This can be "Galileo" for GEN1 Galileo board.
+
 endif