ec/google/chromeec: Define ACPI_NOTIFY_CROS_EC_MKBP constant
[coreboot2.git] / src / drivers / spi / issi.c
blobf6ccc5ee2797bb604eb4c23deaa4d31f026baee7
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <commonlib/helpers.h>
4 #include <spi_flash.h>
5 #include <spi-generic.h>
7 #include "spi_flash_internal.h"
9 static const struct spi_flash_part_id flash_table[] = {
11 /* IS25WP256D */
12 .id[0] = 0x7019,
13 .nr_sectors_shift = 13,
17 const struct spi_flash_vendor_info spi_flash_issi_vi = {
18 .id = VENDOR_ID_ISSI,
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,
22 .ids = flash_table,
23 .nr_part_ids = ARRAY_SIZE(flash_table),
24 .desc = &spi_flash_pp_0x20_sector_desc,
25 .prot_ops = NULL,