diff mbox

[U-Boot,15/15] x86: galileo: Override SMBIOS product name

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

Commit Message

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

---

 board/intel/galileo/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Simon Glass May 23, 2016, 12:20 a.m. UTC | #1
On 22 May 2016 at 02:45, Bin Meng <bmeng.cn@gmail.com> wrote:
> 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>
>
> ---
>
>  board/intel/galileo/Kconfig | 11 +++++++++++
>  1 file changed, 11 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:20 AM, Simon Glass <sjg@chromium.org> wrote:
> On 22 May 2016 at 02:45, Bin Meng <bmeng.cn@gmail.com> wrote:
>> 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>
>>
>> ---
>>
>>  board/intel/galileo/Kconfig | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

applied to u-boot-x86, thanks!
diff mbox

Patch

diff --git a/board/intel/galileo/Kconfig b/board/intel/galileo/Kconfig
index 6515bac..87a0ec4 100644
--- a/board/intel/galileo/Kconfig
+++ b/board/intel/galileo/Kconfig
@@ -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