From 1cb85a5a21cc165877e3c3de92ddea3a3e142f24 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Sat, 19 Feb 2022 14:22:26 +1030 Subject: [PATCH] Add support for the Spansion S25FL256L flash on the QMTech Kintex 7 board --- src/spiFlashdb.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index a072da2..98c14b5 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -59,6 +59,19 @@ static std::map flash_list = { .bp_len = 3, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}} }, + {0x016019, { + .manufacturer = "spansion", + .model = "S25FL256L", + .nr_sector = 512, + .sector_erase = true, + .subsector_erase = false, + .has_extended = true, + .tb_otp = false, + .tb_offset = (1 << 6), + .tb_register = STATR, + .bp_len = 4, + .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} + }, {0x0020ba16, { .manufacturer = "micron", .model = "N25Q32",