Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/flashchips.c b/flashchips.c
- index 615419de..59a31740 100644
- --- a/flashchips.c
- +++ b/flashchips.c
- @@ -299,6 +299,50 @@ const struct flashchip flashchips[] = {
- .write = 0,
- },
- + {
- + .vendor = "MAMRD",
- + .name = "KOKOT",
- + .bustype = BUS_SPI,
- + .manufacture_id = 0x68,
- + .model_id = 0x4013,
- + .total_size = 512,
- + .page_size = 256,
- + /* supports SFDP */
- + /* QPI enable 0x38, disable 0xFF */
- + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,
- + .tested = TEST_UNTESTED,
- + .probe = PROBE_SPI_RDID,
- + .probe_timing = TIMING_ZERO,
- + .block_erasers = {
- + {
- + /* 128 * 4KB sectors */
- + .eraseblocks = { {4 * 1024, 128} },
- + .block_erase = SPI_BLOCK_ERASE_20,
- + }, {
- + /* 16 * 32KB blocks */
- + .eraseblocks = { {32 * 1024, 16} },
- + .block_erase = SPI_BLOCK_ERASE_52,
- + }, {
- + /* 8 * 64KB blocks */
- + .eraseblocks = { {64 * 1024, 8} },
- + .block_erase = SPI_BLOCK_ERASE_D8,
- + }, {
- + /* Full chip erase (0x60) */
- + .eraseblocks = { {512 * 1024, 1} },
- + .block_erase = SPI_BLOCK_ERASE_60,
- + }, {
- + /* Full chip erase (0xC7) */
- + .eraseblocks = { {512 * 1024, 1} },
- + .block_erase = SPI_BLOCK_ERASE_C7,
- + },
- + },
- + .printlock = SPI_PRETTYPRINT_STATUS_REGISTER_BP2_TB_BPL,
- + .unlock = SPI_DISABLE_BLOCKPROTECT_BP2_SRWD,
- + .write = SPI_CHIP_WRITE256,
- + .read = SPI_CHIP_READ, /* Fast read (0x0B) and multi I/O supported */
- + .voltage = {2700, 3600},
- + },
- +
- {0}
- };
Advertisement
Add Comment
Please, Sign In to add comment