mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
dummyflasher: Remove spurious init for VARIABLE_SIZE
Now that the VARIABLE_SIZE emulation doesn't use SPI paths anymore, we can drop these initializations. Change-Id: I43b3667303498b6cc40310c6123bd5c39024645a Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65458 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0751700a03
commit
bfb80286e1
@ -1247,14 +1247,6 @@ static int init_data(struct emu_data *data, enum chipbustype *dummy_buses_suppor
|
||||
}
|
||||
data->emu_chip = EMULATE_VARIABLE_SIZE;
|
||||
data->emu_chip_size = size;
|
||||
data->emu_max_byteprogram_size = 256;
|
||||
data->emu_max_aai_size = 0;
|
||||
data->emu_status_len = 1;
|
||||
data->emu_jedec_se_size = 4 * 1024;
|
||||
data->emu_jedec_be_52_size = 32 * 1024;
|
||||
data->emu_jedec_be_d8_size = 64 * 1024;
|
||||
data->emu_jedec_ce_60_size = data->emu_chip_size;
|
||||
data->emu_jedec_ce_c7_size = data->emu_chip_size;
|
||||
msg_pdbg("Emulating generic SPI flash chip (size=%d bytes)\n",
|
||||
data->emu_chip_size);
|
||||
} else if (size != -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user