Compare commits
1 Commits
prior
...
fix-smbios
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4cf1704199 |
@@ -126,6 +126,8 @@ int write_tables(void)
|
|||||||
use_high = true;
|
use_high = true;
|
||||||
if (!gd->arch.table_start_high)
|
if (!gd->arch.table_start_high)
|
||||||
gd->arch.table_start_high = rom_addr;
|
gd->arch.table_start_high = rom_addr;
|
||||||
|
if (table->tag == BLOBLISTT_SMBIOS_TABLES)
|
||||||
|
gd_set_smbios_start(rom_addr);
|
||||||
}
|
}
|
||||||
rom_table_end = table->write(rom_addr);
|
rom_table_end = table->write(rom_addr);
|
||||||
if (!rom_table_end) {
|
if (!rom_table_end) {
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||||||
imply VIRTIO_PCI
|
imply VIRTIO_PCI
|
||||||
imply VIRTIO_NET
|
imply VIRTIO_NET
|
||||||
imply VIRTIO_BLK
|
imply VIRTIO_BLK
|
||||||
|
imply CMD_SMBIOS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
11
dts/Kconfig
11
dts/Kconfig
@@ -190,7 +190,7 @@ config OF_BOARD
|
|||||||
earlier stage should enable OF_HAS_PRIOR_STAGE.
|
earlier stage should enable OF_HAS_PRIOR_STAGE.
|
||||||
|
|
||||||
config OF_HAS_PRIOR_STAGE
|
config OF_HAS_PRIOR_STAGE
|
||||||
bool "Device tree comes from prior-stage firmware"
|
bool
|
||||||
help
|
help
|
||||||
Indicates that a prior stage of the firmware (before U-Boot proper)
|
Indicates that a prior stage of the firmware (before U-Boot proper)
|
||||||
makes use of device tree and this board normally boots with that prior
|
makes use of device tree and this board normally boots with that prior
|
||||||
@@ -205,13 +205,8 @@ config OF_HAS_PRIOR_STAGE
|
|||||||
development purposes, but it is not recommended, and likely will not
|
development purposes, but it is not recommended, and likely will not
|
||||||
even work, for production systems.
|
even work, for production systems.
|
||||||
|
|
||||||
Note: This option can be updated in the board's defconfig file if
|
Note: This option must be set in Kconfig and cannot be enabled or
|
||||||
needed. E.g. for QEMU to support FIT validation the devicetree must
|
disabled in the board's defconfig file.
|
||||||
include a public key.
|
|
||||||
|
|
||||||
See also this for context:
|
|
||||||
|
|
||||||
https://patchwork.kernel.org/project/qemu-devel/patch/20210926183410.256484-1-sjg@chromium.org/#24481799
|
|
||||||
|
|
||||||
config OF_OMIT_DTB
|
config OF_OMIT_DTB
|
||||||
bool "Omit the device tree output when building"
|
bool "Omit the device tree output when building"
|
||||||
|
|||||||
Reference in New Issue
Block a user