Compare commits
1 Commits
c2025.12
...
fix-smbios
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4130a8271a |
@@ -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
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ efi_status_t efi_smbios_register(void)
|
|||||||
void *buf;
|
void *buf;
|
||||||
|
|
||||||
addr = gd_smbios_start();
|
addr = gd_smbios_start();
|
||||||
|
printf("register %lx\n", addr);
|
||||||
if (!addr) {
|
if (!addr) {
|
||||||
log_err("No SMBIOS tables to install\n");
|
log_err("No SMBIOS tables to install\n");
|
||||||
return EFI_NOT_FOUND;
|
return EFI_NOT_FOUND;
|
||||||
|
|||||||
Reference in New Issue
Block a user