mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
x86: galileo: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
fa9e1bcfc4
commit
8f1f374f63
|
@ -164,4 +164,32 @@
|
|||
};
|
||||
};
|
||||
|
||||
smbios {
|
||||
compatible = "u-boot,sysinfo-smbios";
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
smbios {
|
||||
system {
|
||||
product = "GalileoGen2";
|
||||
};
|
||||
|
||||
baseboard {
|
||||
product = "GalileoGen2";
|
||||
};
|
||||
|
||||
chassis {
|
||||
product = "GalileoGen2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -22,15 +22,4 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select BOARD_ROMSIZE_KB_1024
|
||||
select SPI_FLASH_WINBOND
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user