[xlnx:master 59/60] drivers/mtd/spi-nor/spi-nor.c:2642:3-19: duplicated argument to & or | (fwd)

Julia Lawall julia.lawall at inria.fr
Sat Apr 10 15:08:37 BST 2021


Please check line 2642.

julia

---------- Forwarded message ----------
Date: Sat, 10 Apr 2021 05:35:58 +0800
From: kernel test robot <lkp at intel.com>
To: kbuild at lists.01.org
Cc: lkp at intel.com, Julia Lawall <julia.lawall at lip6.fr>
Subject: [xlnx:master 59/60] drivers/mtd/spi-nor/spi-nor.c:2642:3-19: duplicated
     argument to & or |

CC: kbuild-all at lists.01.org
CC: linux-arm-kernel at lists.infradead.org
TO: Vishal Sagar <vishal.sagar at xilinx.com>
CC: Michal Simek <monstr at monstr.eu>
CC: Hyun Kwon <hyun.kwon at xilinx.com>

Hi Vishal,

First bad commit (maybe != root cause):

tree:   https://github.com/Xilinx/linux-xlnx master
head:   043f8a226a752a1dd11f7ff64cee6dbe7334d394
commit: c0b33b8ccd38096c815f2dd39746044d0aa079d3 [59/60] staging: xlnxsync: Fix the uapi header license
:::::: branch date: 11 months ago
:::::: commit date: 11 months ago
config: i386-randconfig-c001-20210409 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Julia Lawall <julia.lawall at lip6.fr>


cocci warnings: (new ones prefixed by >>)
>> drivers/mtd/spi-nor/spi-nor.c:2642:3-19: duplicated argument to & or |

vim +2642 drivers/mtd/spi-nor/spi-nor.c

48e4d973aefeea Boris Brezillon           2019-08-24  2447
b199489d37b21c Huang Shijie              2014-02-24  2448  /* NOTE: double check command sets and memory organization when you add
b199489d37b21c Huang Shijie              2014-02-24  2449   * more nor chips.  This current list focusses on newer chips, which
b199489d37b21c Huang Shijie              2014-02-24  2450   * have been converging on command sets which including JEDEC ID.
c19900edff983c Rafał Miłecki             2015-04-25  2451   *
c19900edff983c Rafał Miłecki             2015-04-25  2452   * All newly added entries should describe *hardware* and should use SECT_4K
c19900edff983c Rafał Miłecki             2015-04-25  2453   * (or SECT_4K_PMC) if hardware supports erasing 4 KiB sectors. For usage
c19900edff983c Rafał Miłecki             2015-04-25  2454   * scenarios excluding small sectors there is config option that can be
c19900edff983c Rafał Miłecki             2015-04-25  2455   * disabled: CONFIG_MTD_SPI_NOR_USE_4K_SECTORS.
c19900edff983c Rafał Miłecki             2015-04-25  2456   * For historical (and compatibility) reasons (before we got above config) some
c19900edff983c Rafał Miłecki             2015-04-25  2457   * old entries may be missing 4K flag.
b199489d37b21c Huang Shijie              2014-02-24  2458   */
06bb6f5a69dfc5 Rafał Miłecki             2015-08-10  2459  static const struct flash_info spi_nor_ids[] = {
b199489d37b21c Huang Shijie              2014-02-24  2460  	/* Atmel -- some are (confusingly) marketed as "DataFlash" */
b199489d37b21c Huang Shijie              2014-02-24  2461  	{ "at25fs010",  INFO(0x1f6601, 0, 32 * 1024,   4, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2462  	{ "at25fs040",  INFO(0x1f6604, 0, 64 * 1024,   8, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2463
b199489d37b21c Huang Shijie              2014-02-24  2464  	{ "at25df041a", INFO(0x1f4401, 0, 64 * 1024,   8, SECT_4K) },
b08618c929b289 Jagan Teki                2016-07-26  2465  	{ "at25df321",  INFO(0x1f4700, 0, 64 * 1024,  64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2466  	{ "at25df321a", INFO(0x1f4701, 0, 64 * 1024,  64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2467  	{ "at25df641",  INFO(0x1f4800, 0, 64 * 1024, 128, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2468
b199489d37b21c Huang Shijie              2014-02-24  2469  	{ "at26f004",   INFO(0x1f0400, 0, 64 * 1024,  8, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2470  	{ "at26df081a", INFO(0x1f4501, 0, 64 * 1024, 16, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2471  	{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2472  	{ "at26df321",  INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2473
b199489d37b21c Huang Shijie              2014-02-24  2474  	{ "at45db081d", INFO(0x1f2500, 0, 64 * 1024, 16, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2475
b199489d37b21c Huang Shijie              2014-02-24  2476  	/* EON -- en25xxx */
b199489d37b21c Huang Shijie              2014-02-24  2477  	{ "en25f32",    INFO(0x1c3116, 0, 64 * 1024,   64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2478  	{ "en25p32",    INFO(0x1c2016, 0, 64 * 1024,   64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2479  	{ "en25q32b",   INFO(0x1c3016, 0, 64 * 1024,   64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2480  	{ "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2481  	{ "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
08326d8a9472c0 Frieder Schrempf          2019-02-18  2482  	{ "en25q80a",   INFO(0x1c3014, 0, 64 * 1024,   16,
08326d8a9472c0 Frieder Schrempf          2019-02-18  2483  			SECT_4K | SPI_NOR_DUAL_READ) },
771ff17e82fac5 YuheiOKAWA                2018-05-17  2484  	{ "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
30a2c8aa3c520d Roger Pueyo Centelles     2019-02-07  2485  	{ "en25qh64",   INFO(0x1c7017, 0, 64 * 1024,  128,
30a2c8aa3c520d Roger Pueyo Centelles     2019-02-07  2486  			SECT_4K | SPI_NOR_DUAL_READ) },
a41595b34ba40f Sergey Ryazanov           2014-06-12  2487  	{ "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2488  	{ "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
c19900edff983c Rafał Miłecki             2015-04-25  2489  	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2490
b199489d37b21c Huang Shijie              2014-02-24  2491  	/* ESMT */
fcf690a22b2bd7 Victor Shyba              2017-01-02  2492  	{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) },
ca1fa1a8a6dae3 L. D. Pinney              2017-02-14  2493  	{ "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) },
ca1fa1a8a6dae3 L. D. Pinney              2017-02-14  2494  	{ "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_HAS_LOCK) },
b199489d37b21c Huang Shijie              2014-02-24  2495
b199489d37b21c Huang Shijie              2014-02-24  2496  	/* Everspin */
282e45dc64d183 Philipp Puschmann         2017-10-19  2497  	{ "mr25h128", CAT25_INFO( 16 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2498  	{ "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2499  	{ "mr25h10",  CAT25_INFO(128 * 1024, 1, 256, 3, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
edd0c8f4932dbf IWAMOTO Masahiko          2016-10-05  2500  	{ "mr25h40",  CAT25_INFO(512 * 1024, 1, 256, 3, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2501
ce56ce7da31591 Rostislav Lisovy          2014-10-29  2502  	/* Fujitsu */
ce56ce7da31591 Rostislav Lisovy          2014-10-29  2503  	{ "mb85rs1mt", INFO(0x047f27, 0, 128 * 1024, 1, SPI_NOR_NO_ERASE) },
ce56ce7da31591 Rostislav Lisovy          2014-10-29  2504
b199489d37b21c Huang Shijie              2014-02-24  2505  	/* GigaDevice */
e9cf64dec1067e Kamal Dasu                2017-01-20  2506  	{
e9cf64dec1067e Kamal Dasu                2017-01-20  2507  		"gd25q16", INFO(0xc84015, 0, 64 * 1024,  32,
e9cf64dec1067e Kamal Dasu                2017-01-20  2508  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
e9cf64dec1067e Kamal Dasu                2017-01-20  2509  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
e9cf64dec1067e Kamal Dasu                2017-01-20  2510  	},
595f0e101d4c25 Brian Norris              2016-07-01  2511  	{
595f0e101d4c25 Brian Norris              2016-07-01  2512  		"gd25q32", INFO(0xc84016, 0, 64 * 1024,  64,
595f0e101d4c25 Brian Norris              2016-07-01  2513  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
595f0e101d4c25 Brian Norris              2016-07-01  2514  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
595f0e101d4c25 Brian Norris              2016-07-01  2515  	},
5a0682835ca270 Klaus Goger               2017-09-13  2516  	{
5a0682835ca270 Klaus Goger               2017-09-13  2517  		"gd25lq32", INFO(0xc86016, 0, 64 * 1024, 64,
5a0682835ca270 Klaus Goger               2017-09-13  2518  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
5a0682835ca270 Klaus Goger               2017-09-13  2519  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
5a0682835ca270 Klaus Goger               2017-09-13  2520  	},
595f0e101d4c25 Brian Norris              2016-07-01  2521  	{
595f0e101d4c25 Brian Norris              2016-07-01  2522  		"gd25q64", INFO(0xc84017, 0, 64 * 1024, 128,
595f0e101d4c25 Brian Norris              2016-07-01  2523  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
595f0e101d4c25 Brian Norris              2016-07-01  2524  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
595f0e101d4c25 Brian Norris              2016-07-01  2525  	},
595f0e101d4c25 Brian Norris              2016-07-01  2526  	{
595f0e101d4c25 Brian Norris              2016-07-01  2527  		"gd25lq64c", INFO(0xc86017, 0, 64 * 1024, 128,
595f0e101d4c25 Brian Norris              2016-07-01  2528  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
595f0e101d4c25 Brian Norris              2016-07-01  2529  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
595f0e101d4c25 Brian Norris              2016-07-01  2530  	},
595f0e101d4c25 Brian Norris              2016-07-01  2531  	{
595f0e101d4c25 Brian Norris              2016-07-01  2532  		"gd25q128", INFO(0xc84018, 0, 64 * 1024, 256,
595f0e101d4c25 Brian Norris              2016-07-01  2533  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
595f0e101d4c25 Brian Norris              2016-07-01  2534  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
595f0e101d4c25 Brian Norris              2016-07-01  2535  	},
65153846b18c48 Andy Yan                  2017-08-28  2536  	{
65153846b18c48 Andy Yan                  2017-08-28  2537  		"gd25q256", INFO(0xc84019, 0, 64 * 1024, 512,
65153846b18c48 Andy Yan                  2017-08-28  2538  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
65153846b18c48 Andy Yan                  2017-08-28  2539  			SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
48e4d973aefeea Boris Brezillon           2019-08-24  2540  			.fixups = &gd25q256_fixups,
65153846b18c48 Andy Yan                  2017-08-28  2541  	},
b199489d37b21c Huang Shijie              2014-02-24  2542
b199489d37b21c Huang Shijie              2014-02-24  2543  	/* Intel/Numonyx -- xxxs33b */
b199489d37b21c Huang Shijie              2014-02-24  2544  	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2545  	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2546  	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2547
b79c332fb283c1 Gabor Juhos               2015-04-07  2548  	/* ISSI */
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2549  	{ "is25wp080d", INFO(0x9d7014, 0, 64 * 1024, 32, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2550  		SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2551  	{ "is25wp016d", INFO(0x9d7015, 0, 64 * 1024, 32, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2552  		SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
b79c332fb283c1 Gabor Juhos               2015-04-07  2553  	{ "is25cd512",  INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
ded8a0447f49d7 Sean Nyekjaer             2017-12-15  2554  	{ "is25lq040b", INFO(0x9d4013, 0, 64 * 1024,   8,
ded8a0447f49d7 Sean Nyekjaer             2017-12-15  2555  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b422847877e35d Fabrizio Castro           2018-11-08  2556  	{ "is25lp016d", INFO(0x9d6015, 0, 64 * 1024,  32,
b422847877e35d Fabrizio Castro           2018-11-08  2557  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
17407ec3354d29 Romain Porte              2017-12-28  2558  	{ "is25lp080d", INFO(0x9d6014, 0, 64 * 1024,  16,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2559  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2560  			SPI_NOR_HAS_LOCK) },
4cc106f8f245ba Uwe Kleine-König          2018-11-21  2561  	{ "is25lp032",  INFO(0x9d6016, 0, 64 * 1024,  64,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2562  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_HAS_LOCK) },
4cc106f8f245ba Uwe Kleine-König          2018-11-21  2563  	{ "is25lp064",  INFO(0x9d6017, 0, 64 * 1024, 128,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2564  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_HAS_LOCK) },
34354d4bf845c8 Angelo Dureghello         2017-11-19  2565  	{ "is25lp128",  INFO(0x9d6018, 0, 64 * 1024, 256,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2566  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_HAS_LOCK) },
c7aa1b77f96f35 Marek Vasut               2018-04-07  2567  	{ "is25lp256",  INFO(0x9d6019, 0, 64 * 1024, 512,
d05e21e3cfc7f2 Liu Xiang                 2018-11-14  2568  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2569  			SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK)
cf580a92400584 Liu Xiang                 2019-06-25  2570  			.fixups = &is25lp256_fixups },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2571  	{ "is25wp256d", INFO(0x9d7019, 0, 64 * 1024, 512,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2572  			SECT_4K | SPI_NOR_DUAL_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2573  			SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2574  			SPI_NOR_4B_OPCODES) },
d616f81cdd2a21 Kimmo Rautkoski           2018-05-14  2575  	{ "is25wp032",  INFO(0x9d7016, 0, 64 * 1024,  64,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2576  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2577  			SPI_NOR_HAS_LOCK) },
d616f81cdd2a21 Kimmo Rautkoski           2018-05-14  2578  	{ "is25wp064",  INFO(0x9d7017, 0, 64 * 1024, 128,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2579  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2580  			 | SPI_NOR_HAS_LOCK) },
d616f81cdd2a21 Kimmo Rautkoski           2018-05-14  2581  	{ "is25wp128",  INFO(0x9d7018, 0, 64 * 1024, 256,
d616f81cdd2a21 Kimmo Rautkoski           2018-05-14  2582  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2583  	{ "is25lp512m", INFO(0x9d601a, 0, 64 * 1024, 1024,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2584  			SECT_4K | SPI_NOR_DUAL_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2585  			SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2586  	{ "is25wp512m", INFO(0x9d701a, 0, 64 * 1024, 1024,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2587  			SECT_4K | SPI_NOR_DUAL_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2588  			SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2589  			SPI_NOR_4B_OPCODES) },
b79c332fb283c1 Gabor Juhos               2015-04-07  2590
b199489d37b21c Huang Shijie              2014-02-24  2591  	/* Macronix */
660b5b07cfbc39 Gabor Juhos               2015-04-07  2592  	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2593  	{ "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2594  	{ "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2595  	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2596  	{ "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },
0501f2e5ff28a0 Andreas Fenkart           2015-11-05  2597  	{ "mx25l3205d",  INFO(0xc22016, 0, 64 * 1024,  64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2598  	{ "mx25l3255e",  INFO(0xc29e16, 0, 64 * 1024,  64, SECT_4K) },
0501f2e5ff28a0 Andreas Fenkart           2015-11-05  2599  	{ "mx25l6405d",  INFO(0xc22017, 0, 64 * 1024, 128, SECT_4K) },
9f3cd4537da071 Alexander Kurz            2017-03-11  2600  	{ "mx25u2033e",  INFO(0xc22532, 0, 64 * 1024,   4, SECT_4K) },
748df6d831871c André Valentin            2019-01-30  2601  	{ "mx25u3235f",	 INFO(0xc22536, 0, 64 * 1024,  64,
748df6d831871c André Valentin            2019-01-30  2602  			 SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
9f3cd4537da071 Alexander Kurz            2017-03-11  2603  	{ "mx25u4035",   INFO(0xc22533, 0, 64 * 1024,   8, SECT_4K) },
9f3cd4537da071 Alexander Kurz            2017-03-11  2604  	{ "mx25u8035",   INFO(0xc22534, 0, 64 * 1024,  16, SECT_4K) },
81a1209c90914c Mika Westerberg           2015-02-05  2605  	{ "mx25u6435f",  INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2606  	{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2607  	{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
81554171373018 Alexander Sverdlin        2018-07-13  2608  	{ "mx25u12835f", INFO(0xc22538, 0, 64 * 1024, 256,
81554171373018 Alexander Sverdlin        2018-07-13  2609  			 SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
2bffa65da43e39 Boris Brezillon           2018-12-06  2610  	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512,
2bffa65da43e39 Boris Brezillon           2018-12-06  2611  			 SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
2bffa65da43e39 Boris Brezillon           2018-12-06  2612  			 .fixups = &mx25l25635_fixups },
b0fcb4b4130283 Mathias Kresin            2017-04-13  2613  	{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
e36bb65e5d0cf3 Frieder Schrempf          2019-02-18  2614  	{ "mx25v8035f",  INFO(0xc22314, 0, 64 * 1024,  16,
e36bb65e5d0cf3 Frieder Schrempf          2019-02-18  2615  			 SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2616  	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
d342b6a973af45 Roman Yeryomin            2017-09-18  2617  	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
af18ba48420e39 Alexander Sverdlin        2017-06-22  2618  	{ "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
ce398a8141b485 Cédric Le Goater          2017-04-19  2619  	{ "mx66l1g45g",  INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2620  	{ "mx66u1g45g",  INFO(0xc2253b, 0, 64 * 1024, 2048, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2621  			SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2622  	{ "mx66l1g55g",  INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2623
0005aad094538e Yogesh Narayan Gaur       2018-10-12  2624  	/* Micron <--> ST Micro */
61e4611864b396 Moritz Fischer            2016-07-15  2625  	{ "n25q016a",	 INFO(0x20bb15, 0, 64 * 1024,   32, SECT_4K | SPI_NOR_QUAD_READ) },
548cd3ab54da10 Bean Huo 霍斌斌 (beanhuo  2014-12-17  2626) 	{ "n25q032",	 INFO(0x20ba16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
f9bcb6dc8013d4 Aurelien Chanot           2015-10-07  2627  	{ "n25q032a",	 INFO(0x20bb16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
0db7fae2736d0d Alexey Firago             2015-06-30  2628  	{ "n25q064",     INFO(0x20ba17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
2a06c7b1fd2389 Mika Westerberg           2015-08-27  2629  	{ "n25q064a",    INFO(0x20bb17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2630  	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2631  			SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2632  	{ "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024,  256, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2633  			SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2634  	{ "n25q256a",    INFO(0x20ba19, 0, 64 * 1024,  512, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2635  			SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_FSR |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2636  			SPI_NOR_HAS_LOCK) },
835ed7bf12609c Nobuhiro Iwamatsu         2017-03-23  2637  	{ "n25q256ax1",  INFO(0x20bb19, 0, 64 * 1024,  512, SECT_4K | SPI_NOR_QUAD_READ) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2638  	{ "n25q512ax3",  INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2639  			USE_FSR | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2640  	{ "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2641  			USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19 @2642  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2643  	{ "n25q00a",     INFO(0x20bb21, 0, 64 * 1024, 2048, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2644  			USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2645  			SPI_NOR_HAS_LOCK) },
21ed90acd17868 Andrey Smirnov            2019-05-12  2646  	{ "mt25ql02g",   INFO(0x20ba22, 0, 64 * 1024, 4096,
21ed90acd17868 Andrey Smirnov            2019-05-12  2647  			      SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2648  			      NO_CHIP_ERASE | SPI_NOR_HAS_LOCK) },
9607af6f857ff0 Ashish Kumar              2019-08-29  2649  	{ "mt25qu512a (n25q512a)", INFO(0x20bb20, 0, 64 * 1024, 1024,
9607af6f857ff0 Ashish Kumar              2019-08-29  2650  					SECT_4K | USE_FSR | SPI_NOR_DUAL_READ |
9607af6f857ff0 Ashish Kumar              2019-08-29  2651  					SPI_NOR_QUAD_READ |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2652  					SPI_NOR_HAS_LOCK) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2653  	{ "mt25qu02g",   INFO(0x20bb22, 0, 64 * 1024, 4096, SECT_4K |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2654  			USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2655  			SPI_NOR_HAS_LOCK) },
b199489d37b21c Huang Shijie              2014-02-24  2656
a98086e00420ad Yogesh Narayan Gaur       2018-10-12  2657  	/* Micron */
a98086e00420ad Yogesh Narayan Gaur       2018-10-12  2658  	{
a98086e00420ad Yogesh Narayan Gaur       2018-10-12  2659  		"mt35xu512aba", INFO(0x2c5b1a, 0, 128 * 1024, 512,
2bda2f811b36cb Yogesh Narayan Gaur       2019-01-15  2660  			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
606a7db700558f Sai Krishna Potthuri      2019-12-26  2661  			SPI_NOR_OCTAL_WRITE | SPI_NOR_4B_OPCODES)
a98086e00420ad Yogesh Narayan Gaur       2018-10-12  2662  	},
aba8d95e112099 Sai Krishna Potthuri      2019-12-26  2663  	{ "mt35xu01g",  INFO(0x2c5b1b, 0, 128 * 1024, 1024,
aba8d95e112099 Sai Krishna Potthuri      2019-12-26  2664  			    SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
aba8d95e112099 Sai Krishna Potthuri      2019-12-26  2665  			    SPI_NOR_OCTAL_WRITE | SPI_NOR_4B_OPCODES) },
173c3d47736e31 Ashish Kumar              2019-08-29  2666  	{ "mt35xu02g",  INFO(0x2c5b1c, 0, 128 * 1024, 2048,
173c3d47736e31 Ashish Kumar              2019-08-29  2667  			     SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
606a7db700558f Sai Krishna Potthuri      2019-12-26  2668  			     SPI_NOR_OCTAL_WRITE | SPI_NOR_4B_OPCODES) },
a98086e00420ad Yogesh Narayan Gaur       2018-10-12  2669
b199489d37b21c Huang Shijie              2014-02-24  2670  	/* PMC */
b199489d37b21c Huang Shijie              2014-02-24  2671  	{ "pm25lv512",   INFO(0,        0, 32 * 1024,    2, SECT_4K_PMC) },
b199489d37b21c Huang Shijie              2014-02-24  2672  	{ "pm25lv010",   INFO(0,        0, 32 * 1024,    4, SECT_4K_PMC) },
b199489d37b21c Huang Shijie              2014-02-24  2673  	{ "pm25lq032",   INFO(0x7f9d46, 0, 64 * 1024,   64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2674
0074a8f3b30302 Rafael Gago               2017-12-21  2675  	/* Spansion/Cypress -- single (large) sector size only, at least
b199489d37b21c Huang Shijie              2014-02-24  2676  	 * for the chips listed here (without boot sectors).
b199489d37b21c Huang Shijie              2014-02-24  2677  	 */
9ab86995ed07f5 Geert Uytterhoeven        2014-04-22  2678  	{ "s25sl032p",  INFO(0x010215, 0x4d00,  64 * 1024,  64, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
0f12a27b47284e Joachim Eastwood          2015-08-14  2679  	{ "s25sl064p",  INFO(0x010216, 0x4d00,  64 * 1024, 128, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
50685024f27358 Ahmet Celenk              2019-02-12  2680  	{ "s25fl128s0", INFO6(0x012018, 0x4d0080, 256 * 1024, 64,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2681  			SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2682  			SPI_NOR_HAS_LOCK) },
50685024f27358 Ahmet Celenk              2019-02-12  2683  	{ "s25fl128s1", INFO6(0x012018, 0x4d0180, 64 * 1024, 256,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2684  			SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR |
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2685  			SPI_NOR_HAS_LOCK) },
c4b3eacc1dfef5 Alexander Sverdlin        2017-07-17  2686  	{ "s25fl256s0", INFO(0x010219, 0x4d00, 256 * 1024, 128, USE_CLSR) },
c4b3eacc1dfef5 Alexander Sverdlin        2017-07-17  2687  	{ "s25fl256s1", INFO(0x010219, 0x4d01,  64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
dcb4b22eeaf44f Jonas Bonn                2019-03-20  2688  	{ "s25fl512s",  INFO6(0x010220, 0x4d0080, 256 * 1024, 256,
dcb4b22eeaf44f Jonas Bonn                2019-03-20  2689  			SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
e7023898034ea3 Jungseung Lee             2019-07-13  2690  			SPI_NOR_HAS_LOCK | USE_CLSR) },
dfd2b74530e908 Sergei Shtylyov           2019-01-16  2691  	{ "s25fs512s",  INFO6(0x010220, 0x4d0081, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
b199489d37b21c Huang Shijie              2014-02-24  2692  	{ "s70fl01gs",  INFO(0x010221, 0x4d00, 256 * 1024, 256, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2693  	{ "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2694  	{ "s25sl12801", INFO(0x012018, 0x0301,  64 * 1024, 256, 0) },
c4b3eacc1dfef5 Alexander Sverdlin        2017-07-17  2695  	{ "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024,  64, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
c4b3eacc1dfef5 Alexander Sverdlin        2017-07-17  2696  	{ "s25fl129p1", INFO(0x012018, 0x4d01,  64 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
b199489d37b21c Huang Shijie              2014-02-24  2697  	{ "s25sl004a",  INFO(0x010212,      0,  64 * 1024,   8, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2698  	{ "s25sl008a",  INFO(0x010213,      0,  64 * 1024,  16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2699  	{ "s25sl016a",  INFO(0x010214,      0,  64 * 1024,  32, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2700  	{ "s25sl032a",  INFO(0x010215,      0,  64 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2701  	{ "s25sl064a",  INFO(0x010216,      0,  64 * 1024, 128, 0) },
7c748f5774cb74 Sean Nyekjaer             2015-10-13  2702  	{ "s25fl004k",  INFO(0xef4013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
adf508c347c3a5 Joachim Eastwood          2015-07-09  2703  	{ "s25fl008k",  INFO(0xef4014,      0,  64 * 1024,  16, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
adf508c347c3a5 Joachim Eastwood          2015-07-09  2704  	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2705  	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
c08266794926a9 Sascha Hauer              2016-02-11  2706  	{ "s25fl116k",  INFO(0x014015,      0,  64 * 1024,  32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
c19900edff983c Rafał Miłecki             2015-04-25  2707  	{ "s25fl132k",  INFO(0x014016,      0,  64 * 1024,  64, SECT_4K) },
413780d7d7040c Rafał Miłecki             2015-04-25  2708  	{ "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
aada20cd2b1af7 Sean Nyekjaer             2015-10-13  2709  	{ "s25fl204k",  INFO(0x014013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ) },
022a400f90ceeb Sean Nyekjaer             2016-10-05  2710  	{ "s25fl208k",  INFO(0x014014,      0,  64 * 1024,  16, SECT_4K | SPI_NOR_DUAL_READ) },
d8b494a32889ea Harry Chou                2017-06-23  2711  	{ "s25fl064l",  INFO(0x016017,      0,  64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
0074a8f3b30302 Rafael Gago               2017-12-21  2712  	{ "s25fl128l",  INFO(0x016018,      0,  64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
0074a8f3b30302 Rafael Gago               2017-12-21  2713  	{ "s25fl256l",  INFO(0x016019,      0,  64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2714  	{ "sst26wf016B", INFO(0xbf2651, 0, 64 * 1024, 32,
d2c139cd25f72b Amit Kumar Mahapatra      2020-01-19  2715  			SECT_4K | SST_GLOBAL_PROT_UNLK) },
b199489d37b21c Huang Shijie              2014-02-24  2716
b199489d37b21c Huang Shijie              2014-02-24  2717  	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
b199489d37b21c Huang Shijie              2014-02-24  2718  	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2719  	{ "sst25vf080b", INFO(0xbf258e, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2720  	{ "sst25vf016b", INFO(0xbf2541, 0, 64 * 1024, 32, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2721  	{ "sst25vf032b", INFO(0xbf254a, 0, 64 * 1024, 64, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2722  	{ "sst25vf064c", INFO(0xbf254b, 0, 64 * 1024, 128, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2723  	{ "sst25wf512",  INFO(0xbf2501, 0, 64 * 1024,  1, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2724  	{ "sst25wf010",  INFO(0xbf2502, 0, 64 * 1024,  2, SECT_4K | SST_WRITE) },
b199489d37b21c Huang Shijie              2014-02-24  2725  	{ "sst25wf020",  INFO(0xbf2503, 0, 64 * 1024,  4, SECT_4K | SST_WRITE) },
a1d97ef96e3899 Alexis Ballier            2015-08-14  2726  	{ "sst25wf020a", INFO(0x621612, 0, 64 * 1024,  4, SECT_4K) },
c887be71cc3984 Yao Yuan                  2015-09-16  2727  	{ "sst25wf040b", INFO(0x621613, 0, 64 * 1024,  8, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2728  	{ "sst25wf040",  INFO(0xbf2504, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
f02985b78550f5 Harini Katakam            2014-10-21  2729  	{ "sst25wf080",  INFO(0xbf2505, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
6dc944db29ba9c Eugeniy Paltsev           2019-07-18  2730  	{ "sst26wf016b", INFO(0xbf2651, 0, 64 * 1024, 32, SECT_4K |
6dc944db29ba9c Eugeniy Paltsev           2019-07-18  2731  			      SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
4b265184095df6 Amit Kumar Mahapatra      2020-02-20  2732  	{ "sst26vf016b", INFO(0xbf2641, 0, 64 * 1024, 32,
4b265184095df6 Amit Kumar Mahapatra      2020-02-20  2733  			      SECT_4K | SST_GLOBAL_PROT_UNLK) },
18f7ce2f449504 Claudiu Beznea            2017-08-22  2734  	{ "sst26vf064b", INFO(0xbf2643, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2735
b199489d37b21c Huang Shijie              2014-02-24  2736  	/* ST Microelectronics -- newer production may have feature updates */
b199489d37b21c Huang Shijie              2014-02-24  2737  	{ "m25p05",  INFO(0x202010,  0,  32 * 1024,   2, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2738  	{ "m25p10",  INFO(0x202011,  0,  32 * 1024,   4, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2739  	{ "m25p20",  INFO(0x202012,  0,  64 * 1024,   4, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2740  	{ "m25p40",  INFO(0x202013,  0,  64 * 1024,   8, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2741  	{ "m25p80",  INFO(0x202014,  0,  64 * 1024,  16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2742  	{ "m25p16",  INFO(0x202015,  0,  64 * 1024,  32, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2743  	{ "m25p32",  INFO(0x202016,  0,  64 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2744  	{ "m25p64",  INFO(0x202017,  0,  64 * 1024, 128, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2745  	{ "m25p128", INFO(0x202018,  0, 256 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2746
b199489d37b21c Huang Shijie              2014-02-24  2747  	{ "m25p05-nonjedec",  INFO(0, 0,  32 * 1024,   2, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2748  	{ "m25p10-nonjedec",  INFO(0, 0,  32 * 1024,   4, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2749  	{ "m25p20-nonjedec",  INFO(0, 0,  64 * 1024,   4, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2750  	{ "m25p40-nonjedec",  INFO(0, 0,  64 * 1024,   8, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2751  	{ "m25p80-nonjedec",  INFO(0, 0,  64 * 1024,  16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2752  	{ "m25p16-nonjedec",  INFO(0, 0,  64 * 1024,  32, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2753  	{ "m25p32-nonjedec",  INFO(0, 0,  64 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2754  	{ "m25p64-nonjedec",  INFO(0, 0,  64 * 1024, 128, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2755  	{ "m25p128-nonjedec", INFO(0, 0, 256 * 1024,  64, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2756
b199489d37b21c Huang Shijie              2014-02-24  2757  	{ "m45pe10", INFO(0x204011,  0, 64 * 1024,    2, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2758  	{ "m45pe80", INFO(0x204014,  0, 64 * 1024,   16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2759  	{ "m45pe16", INFO(0x204015,  0, 64 * 1024,   32, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2760
b199489d37b21c Huang Shijie              2014-02-24  2761  	{ "m25pe20", INFO(0x208012,  0, 64 * 1024,  4,       0) },
b199489d37b21c Huang Shijie              2014-02-24  2762  	{ "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
b199489d37b21c Huang Shijie              2014-02-24  2763  	{ "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2764
b199489d37b21c Huang Shijie              2014-02-24  2765  	{ "m25px16",    INFO(0x207115,  0, 64 * 1024, 32, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2766  	{ "m25px32",    INFO(0x207116,  0, 64 * 1024, 64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2767  	{ "m25px32-s0", INFO(0x207316,  0, 64 * 1024, 64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2768  	{ "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2769  	{ "m25px64",    INFO(0x207117,  0, 64 * 1024, 128, 0) },
f2fabe16b819cd Thomas Petazzoni          2014-07-27  2770  	{ "m25px80",    INFO(0x207114,  0, 64 * 1024, 16, 0) },
b199489d37b21c Huang Shijie              2014-02-24  2771
b199489d37b21c Huang Shijie              2014-02-24  2772  	/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
40d19ab69c79da Gabor Juhos               2015-03-26  2773  	{ "w25x05", INFO(0xef3010, 0, 64 * 1024,  1,  SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2774  	{ "w25x10", INFO(0xef3011, 0, 64 * 1024,  2,  SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2775  	{ "w25x20", INFO(0xef3012, 0, 64 * 1024,  4,  SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2776  	{ "w25x40", INFO(0xef3013, 0, 64 * 1024,  8,  SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2777  	{ "w25x80", INFO(0xef3014, 0, 64 * 1024,  16, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2778  	{ "w25x16", INFO(0xef3015, 0, 64 * 1024,  32, SECT_4K) },
ace3cbdd23dc49 Neil Armstrong            2017-08-28  2779  	{
ace3cbdd23dc49 Neil Armstrong            2017-08-28  2780  		"w25q16dw", INFO(0xef6015, 0, 64 * 1024,  32,
ace3cbdd23dc49 Neil Armstrong            2017-08-28  2781  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
ace3cbdd23dc49 Neil Armstrong            2017-08-28  2782  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
ace3cbdd23dc49 Neil Armstrong            2017-08-28  2783  	},
b199489d37b21c Huang Shijie              2014-02-24  2784  	{ "w25x32", INFO(0xef3016, 0, 64 * 1024,  64, SECT_4K) },
88489c29de6078 Robert Marko              2019-05-18  2785  	{
88489c29de6078 Robert Marko              2019-05-18  2786  		"w25q16jv-im/jm", INFO(0xef7015, 0, 64 * 1024,  32,
88489c29de6078 Robert Marko              2019-05-18  2787  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
88489c29de6078 Robert Marko              2019-05-18  2788  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
88489c29de6078 Robert Marko              2019-05-18  2789  	},
34fc99dbf32d8c Alexander Kurz            2017-03-11  2790  	{ "w25q20cl", INFO(0xef4012, 0, 64 * 1024,  4, SECT_4K) },
34fc99dbf32d8c Alexander Kurz            2017-03-11  2791  	{ "w25q20bw", INFO(0xef5012, 0, 64 * 1024,  4, SECT_4K) },
34fc99dbf32d8c Alexander Kurz            2017-03-11  2792  	{ "w25q20ew", INFO(0xef6012, 0, 64 * 1024,  4, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2793  	{ "w25q32", INFO(0xef4016, 0, 64 * 1024,  64, SECT_4K) },
9648388fc77373 Brian Norris              2016-01-29  2794  	{
9648388fc77373 Brian Norris              2016-01-29  2795  		"w25q32dw", INFO(0xef6016, 0, 64 * 1024,  64,
9648388fc77373 Brian Norris              2016-01-29  2796  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
9648388fc77373 Brian Norris              2016-01-29  2797  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
9648388fc77373 Brian Norris              2016-01-29  2798  	},
7fccf56ea4faef Stephen Douthit           2018-03-07  2799  	{
7fccf56ea4faef Stephen Douthit           2018-03-07  2800  		"w25q32jv", INFO(0xef7016, 0, 64 * 1024,  64,
7fccf56ea4faef Stephen Douthit           2018-03-07  2801  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
7fccf56ea4faef Stephen Douthit           2018-03-07  2802  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
7fccf56ea4faef Stephen Douthit           2018-03-07  2803  	},
b199489d37b21c Huang Shijie              2014-02-24  2804  	{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2805  	{ "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
9648388fc77373 Brian Norris              2016-01-29  2806  	{
9648388fc77373 Brian Norris              2016-01-29  2807  		"w25q64dw", INFO(0xef6017, 0, 64 * 1024, 128,
9648388fc77373 Brian Norris              2016-01-29  2808  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
9648388fc77373 Brian Norris              2016-01-29  2809  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
9648388fc77373 Brian Norris              2016-01-29  2810  	},
9648388fc77373 Brian Norris              2016-01-29  2811  	{
9648388fc77373 Brian Norris              2016-01-29  2812  		"w25q128fw", INFO(0xef6018, 0, 64 * 1024, 256,
9648388fc77373 Brian Norris              2016-01-29  2813  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
9648388fc77373 Brian Norris              2016-01-29  2814  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
9648388fc77373 Brian Norris              2016-01-29  2815  	},
d720a43333b0c2 Robert Marko              2018-06-25  2816  	{
d720a43333b0c2 Robert Marko              2018-06-25  2817  		"w25q128jv", INFO(0xef7018, 0, 64 * 1024, 256,
d720a43333b0c2 Robert Marko              2018-06-25  2818  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
d720a43333b0c2 Robert Marko              2018-06-25  2819  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
d720a43333b0c2 Robert Marko              2018-06-25  2820  	},
b199489d37b21c Huang Shijie              2014-02-24  2821  	{ "w25q80", INFO(0xef5014, 0, 64 * 1024,  16, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2822  	{ "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },
b199489d37b21c Huang Shijie              2014-02-24  2823  	{ "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
d7c9ade2e31dba Cédric Le Goater          2017-04-19  2824  	{ "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
3123db1d265185 Avi Fishman               2019-07-30  2825  	{ "w25q256jvm", INFO(0xef7019, 0, 64 * 1024, 512,
3123db1d265185 Avi Fishman               2019-07-30  2826  			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
0cbef932bd8285 Benjamin Herrenschmidt    2017-06-21  2827  	{ "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
0cbef932bd8285 Benjamin Herrenschmidt    2017-06-21  2828  			SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2829
b199489d37b21c Huang Shijie              2014-02-24  2830  	/* Catalyst / On Semiconductor -- non-JEDEC */
b199489d37b21c Huang Shijie              2014-02-24  2831  	{ "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2832  	{ "cat25c03", CAT25_INFO(  32, 8, 16, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2833  	{ "cat25c09", CAT25_INFO( 128, 8, 32, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2834  	{ "cat25c17", CAT25_INFO( 256, 8, 32, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
b199489d37b21c Huang Shijie              2014-02-24  2835  	{ "cat25128", CAT25_INFO(2048, 8, 64, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2836
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2837  	/* Xilinx S3AN Internal Flash */
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2838  	{ "3S50AN", S3AN_INFO(0x1f2200, 64, 264) },
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2839  	{ "3S200AN", S3AN_INFO(0x1f2400, 256, 264) },
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2840  	{ "3S400AN", S3AN_INFO(0x1f2400, 256, 264) },
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2841  	{ "3S700AN", S3AN_INFO(0x1f2500, 512, 264) },
e99ca98f1d7190 Ricardo Ribalda Delgado   2016-12-02  2842  	{ "3S1400AN", S3AN_INFO(0x1f2600, 512, 528) },
ce5013ff3bec05 Hauke Mehrtens            2018-04-18  2843
ce5013ff3bec05 Hauke Mehrtens            2018-04-18  2844  	/* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
ce5013ff3bec05 Hauke Mehrtens            2018-04-18  2845  	{ "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
ce5013ff3bec05 Hauke Mehrtens            2018-04-18  2846  	{ "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
b199489d37b21c Huang Shijie              2014-02-24  2847  	{ },
b199489d37b21c Huang Shijie              2014-02-24  2848  };
b199489d37b21c Huang Shijie              2014-02-24  2849

:::::: The code at line 2642 was first introduced by commit
:::::: d2c139cd25f72b5ba2f6927fcce17c69f0a8fab7 mtd: spi-nor: Update flags for serial NOR flash devices

:::::: TO: Amit Kumar Mahapatra <amit.kumar-mahapatra at xilinx.com>
:::::: CC: Michal Simek <michal.simek at xilinx.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29113 bytes
Desc: 
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210410/a4e27ea6/attachment-0001.gz>


More information about the linux-arm-kernel mailing list