hw/i386/pc_sysfw: Remove unused parameter from pc_isa_bios_init()

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240422200625.2768-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Bernhard Beschow 2024-04-22 22:06:22 +02:00 committed by Philippe Mathieu-Daudé
parent 4f88e5215a
commit f4b63768b9

View File

@ -41,8 +41,7 @@
#define FLASH_SECTOR_SIZE 4096 #define FLASH_SECTOR_SIZE 4096
static void pc_isa_bios_init(MemoryRegion *rom_memory, static void pc_isa_bios_init(MemoryRegion *rom_memory,
MemoryRegion *flash_mem, MemoryRegion *flash_mem)
int ram_size)
{ {
int isa_bios_size; int isa_bios_size;
MemoryRegion *isa_bios; MemoryRegion *isa_bios;
@ -186,7 +185,7 @@ static void pc_system_flash_map(PCMachineState *pcms,
if (i == 0) { if (i == 0) {
flash_mem = pflash_cfi01_get_memory(system_flash); flash_mem = pflash_cfi01_get_memory(system_flash);
pc_isa_bios_init(rom_memory, flash_mem, size); pc_isa_bios_init(rom_memory, flash_mem);
/* Encrypt the pflash boot ROM */ /* Encrypt the pflash boot ROM */
if (sev_enabled()) { if (sev_enabled()) {