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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

669 Views
tsung-chihwang
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

640 Views
igorpadykov
NXP Employee
NXP Employee

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