aboutsummaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-15 23:30:16 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-16 03:19:37 +0000
commitc936ce4688c1d36036f28784267c28a546fdba52 (patch)
treeff6ce9e21eb517783da1e4c31d103f111eadb3df /flashchips.c
parent7902b2b51152980067ed456e31e7b0b8862a4dc7 (diff)
downloadflashrom-c936ce4688c1d36036f28784267c28a546fdba52.tar.gz
flashrom-c936ce4688c1d36036f28784267c28a546fdba52.tar.bz2
flashrom-c936ce4688c1d36036f28784267c28a546fdba52.zip
flashchips.c: Indent definition of W25Q512NW-IM properly
Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Icfd2a49383da0f8f0a4e3295aba81ce1d200652c Reviewed-on: https://review.coreboot.org/c/flashrom/+/68151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/flashchips.c b/flashchips.c
index 7ea86012..f6aa9d9a 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -18667,46 +18667,46 @@ const struct flashchip flashchips[] = {
},
{
- .vendor = "Winbond",
- .name = "W25Q512NW-IM",
- .bustype = BUS_SPI,
- .manufacture_id = WINBOND_NEX_ID,
- .model_id = WINBOND_NEX_W25Q512NW_IM,
- .total_size = 64 * 1024,
- .page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA,
- .tested = TEST_OK_PREW,
- .probe = PROBE_SPI_RDID,
- .probe_timing = TIMING_ZERO,
- .block_erasers =
- {
- {
- .eraseblocks = { {4 * 1024, 16384} },
- .block_erase = SPI_BLOCK_ERASE_21,
- }, {
- .eraseblocks = { {4 * 1024, 16384} },
- .block_erase = SPI_BLOCK_ERASE_20,
- }, {
- .eraseblocks = { {32 * 1024, 2048} },
- .block_erase = SPI_BLOCK_ERASE_52,
- }, {
- .eraseblocks = { {64 * 1024, 1024} },
- .block_erase = SPI_BLOCK_ERASE_DC,
- }, {
- .eraseblocks = { {64 * 1024, 1024} },
- .block_erase = SPI_BLOCK_ERASE_D8,
- }, {
- .eraseblocks = { {64 * 1024 * 1024, 1} },
- .block_erase = SPI_BLOCK_ERASE_60,
- }, {
- .eraseblocks = { {64 * 1024 * 1024, 1} },
- .block_erase = SPI_BLOCK_ERASE_C7,
- }
- },
- .unlock = SPI_DISABLE_BLOCKPROTECT,
- .write = SPI_CHIP_WRITE256,
- .read = SPI_CHIP_READ,
- .voltage = {1650, 1950},
+ .vendor = "Winbond",
+ .name = "W25Q512NW-IM",
+ .bustype = BUS_SPI,
+ .manufacture_id = WINBOND_NEX_ID,
+ .model_id = WINBOND_NEX_W25Q512NW_IM,
+ .total_size = 64 * 1024,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA,
+ .tested = TEST_OK_PREW,
+ .probe = PROBE_SPI_RDID,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 16384} },
+ .block_erase = SPI_BLOCK_ERASE_21,
+ }, {
+ .eraseblocks = { {4 * 1024, 16384} },
+ .block_erase = SPI_BLOCK_ERASE_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 2048} },
+ .block_erase = SPI_BLOCK_ERASE_52,
+ }, {
+ .eraseblocks = { {64 * 1024, 1024} },
+ .block_erase = SPI_BLOCK_ERASE_DC,
+ }, {
+ .eraseblocks = { {64 * 1024, 1024} },
+ .block_erase = SPI_BLOCK_ERASE_D8,
+ }, {
+ .eraseblocks = { {64 * 1024 * 1024, 1} },
+ .block_erase = SPI_BLOCK_ERASE_60,
+ }, {
+ .eraseblocks = { {64 * 1024 * 1024, 1} },
+ .block_erase = SPI_BLOCK_ERASE_C7,
+ }
+ },
+ .unlock = SPI_DISABLE_BLOCKPROTECT,
+ .write = SPI_CHIP_WRITE256,
+ .read = SPI_CHIP_READ,
+ .voltage = {1650, 1950},
},
{