Hi youyong
please check struct spi_device_id spi_nor_ids in linux/drivers/mtd/devices/spi-nor/spi-nor.c
and add necessary model parameters. More details can be found in Chapter 31
SPI NOR Flash Memory Technology Device (MTD) Driver attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------