Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / mtd / spi-nor / xmc.c
blob2c7773b689937f437b50318c51fc400ec6afbdd7
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 xmc_parts[] = {
12 /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
13 { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128,
14 SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
15 { "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256,
16 SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
19 const struct spi_nor_manufacturer spi_nor_xmc = {
20 .name = "xmc",
21 .parts = xmc_parts,
22 .nparts = ARRAY_SIZE(xmc_parts),