Hi Deepanraj
you can remove SPI NOR flash driver just removing its driver from build,
check Chapter 26 SPI NOR Flash Memory Technology Device (MTD)
Driver in i.MX_6Dual6Quad_Linux_Reference_Manual.pdf L3.0.35_4.1.0_LINUX_DOCS
I believe that there are no full spi codes for communication with other than SPI-NOR
devices in i.MX6 Uboot/Linux, so I would suggest to look for spi devices codes for Uboot/Linux
in i.MX51 EVK MC13982 software. MC13892 uses spi for communication with i.MX51.
Both processors i.MX51 and i.MX6 have similar spi modules. Please check
Chapter 3 MC13892 Regulator Driver in mx51_linux.pdf IMX51_ER1011_LINUXDOCS_BUNDLE
L2.6.35_10.11_ER_SOURCE
: Linux 2.6.35 Source Code Files
Also it may be useful to look below
https://www.kernel.org/doc/Documentation/spi/
For using interface with camera one can check how i2c is used with camera,
and replace it with spi codes, check sect.20.5 Using the I2C Interface MX53UG
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------