drm/nouveau: consume the return of large GSP message
[drm/drm-misc.git] / drivers / mtd / spi-nor / intel.c
blobf647359fee7a8fe3ba98bb1f65180ea6719521a8
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright (C) 2005, Intec Automation Inc.
4 * Copyright (C) 2014, Freescale Semiconductor, Inc.
5 */
7 #include <linux/mtd/spi-nor.h>
9 #include "core.h"
11 static const struct flash_info intel_nor_parts[] = {
13 .id = SNOR_ID(0x89, 0x89, 0x11),
14 .name = "160s33b",
15 .size = SZ_2M,
16 .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
17 }, {
18 .id = SNOR_ID(0x89, 0x89, 0x12),
19 .name = "320s33b",
20 .size = SZ_4M,
21 .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
22 }, {
23 .id = SNOR_ID(0x89, 0x89, 0x13),
24 .name = "640s33b",
25 .size = SZ_8M,
26 .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
30 const struct spi_nor_manufacturer spi_nor_intel = {
31 .name = "intel",
32 .parts = intel_nor_parts,
33 .nparts = ARRAY_SIZE(intel_nor_parts),