Hello,
               I  am using a custom ARM board. In the board.c file  the SPI NOR 
flash m25p80 is connected to bus 1 with chip sect 0.
In the board_info structure I have changed the modalias of m25p80 as spidev. 
Thus, my spidev driver is now binded to the NOR flash.
I have enabled user space SPI and got the spidev1.0 file in  /dev.

I am using the spidev_test utility. I want to read the NOR flash using ioctl. 
Can anyone please suggest the command to be used? 
If I use normal read/write instead of ioctl to read the JEDEC ID; it works.

Regards,
Amit
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to