Compare commits
1 Commits
master
...
fix-smbios
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4130a8271a |
@@ -126,6 +126,8 @@ int write_tables(void)
|
||||
use_high = true;
|
||||
if (!gd->arch.table_start_high)
|
||||
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);
|
||||
if (!rom_table_end) {
|
||||
|
||||
@@ -23,5 +23,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
imply VIRTIO_PCI
|
||||
imply VIRTIO_NET
|
||||
imply VIRTIO_BLK
|
||||
imply CMD_SMBIOS
|
||||
|
||||
endif
|
||||
|
||||
@@ -35,6 +35,7 @@ efi_status_t efi_smbios_register(void)
|
||||
void *buf;
|
||||
|
||||
addr = gd_smbios_start();
|
||||
printf("register %lx\n", addr);
|
||||
if (!addr) {
|
||||
log_err("No SMBIOS tables to install\n");
|
||||
return EFI_NOT_FOUND;
|
||||
|
||||
Reference in New Issue
Block a user