1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <commonlib/helpers.h>
5 #include <spi-generic.h>
7 #include "spi_flash_internal.h"
9 static const struct spi_flash_part_id flash_table
[] = {
13 .nr_sectors_shift
= 13,
17 const struct spi_flash_vendor_info spi_flash_issi_vi
= {
19 .page_size_shift
= 8, // 256 byte page size
20 .sector_size_kib_shift
= 2, // 4 Kbyte sector size
21 .match_id_mask
[0] = 0xffff,
23 .nr_part_ids
= ARRAY_SIZE(flash_table
),
24 .desc
= &spi_flash_pp_0x20_sector_desc
,