OpenNuvoton / NUC970_Linux_Kernel

Linux Kernel Source Code for NUC970 Series Microprocessor
Other
68 stars 69 forks source link

Does spi support both spi flash and User mode SPI device driver ? #48

Closed carpenter-larry closed 4 years ago

carpenter-larry commented 4 years ago

My config is boot from spi flash, use jffs2 filesystem which is flashed on the spi flash, and i select [User mode SPI device driver support] because i want to use a spi ADC chip. But when i boot from the spi flash, the kernel cannot find the root filesystem. When i unselect [User mode SPI device driver support], everything is OK.

yachen commented 4 years ago

Hi, Are you connecting ADC and SPI flash to the same SPI interface? If so, did you assign different chip_select for these two devices?