How to distinguish spi flash type between NAND and NOR on U-boot

cancel
Showing results for 
Search instead for 
Did you mean: 

How to distinguish spi flash type between NAND and NOR on U-boot

57 Views
Contributor III

Hi,

Currently, we have two types of flash, one is NAND flash, the other is NOR flash.

I was wondering if you could tell me how to distinguish it on u-boot?

BR,

carter

Tags (2)
0 Kudos
1 Reply

28 Views
NXP TechSupport
NXP TechSupport

Hi Tsung-Chih 

it can be distinguished by chips ID, look for example at spi-nor drivers:

spi-nor-ids.c\spi\mtd\drivers - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos