Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (C) 2005, Intec Automation Inc.
0004  * Copyright (C) 2014, Freescale Semiconductor, Inc.
0005  */
0006 
0007 #include <linux/mtd/spi-nor.h>
0008 
0009 #include "core.h"
0010 
0011 static const struct flash_info xmc_nor_parts[] = {
0012     /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
0013     { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128)
0014         NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
0015                   SPI_NOR_QUAD_READ) },
0016     { "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256)
0017         NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
0018                   SPI_NOR_QUAD_READ) },
0019 };
0020 
0021 const struct spi_nor_manufacturer spi_nor_xmc = {
0022     .name = "xmc",
0023     .parts = xmc_nor_parts,
0024     .nparts = ARRAY_SIZE(xmc_nor_parts),
0025 };