1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

tree/: Case write_granularity enum values

Change-Id: Ic8c655225abe477c1b618dc685b743e691c16ebd
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/74165
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Edward O'Callaghan
2023-04-01 12:32:52 +11:00
committed by Edward O'Callaghan
parent 67b5526d5c
commit 21901c11e7
5 changed files with 41 additions and 41 deletions

View File

@ -2762,7 +2762,7 @@ const struct flashchip flashchips[] = {
.write = SPI_WRITE_AT45DB,
.read = SPI_READ_AT45DB,
.voltage = {2700, 3600},
.gran = write_gran_1056bytes,
.gran = WRITE_GRAN_1056BYTES,
},
{
@ -3015,7 +3015,7 @@ const struct flashchip flashchips[] = {
.write = SPI_WRITE_AT45DB,
.read = SPI_READ_AT45DB_E8, /* 3 address and 4 dummy bytes */
.voltage = {2700, 3600},
.gran = write_gran_528bytes,
.gran = WRITE_GRAN_528BYTES,
},
{
@ -3638,7 +3638,7 @@ const struct flashchip flashchips[] = {
.write = EDI_CHIP_WRITE,
.read = EDI_CHIP_READ,
.voltage = {2700, 3600},
.gran = write_gran_128bytes,
.gran = WRITE_GRAN_128BYTES,
},
{