This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using Spansion flash instead of Winbond

I know this is actually a Linux related question but I got no response on a Linux forum so for that reason I'm trying if anyone here might know the answer.

I'm currently testing all my software on the TI OMAP L-137 EVM board. This board has a 4 MB 25x32vfig Winbond SPI Flash device mounted. This device is too small for our final application so our custom board will be shipped with a Spansion S25FL128 SPI Flash device.

  • I've been browsing through the Kernel sources and it looks like this Spansion device is not supported in the Linux-2.6.18_pro500 Kernel. Is this correct or not?

I've been browsing the net and when I look for S25FL128P support the m25p90.c driver pops-up. I've found that sometimes Spansion devices are supported by this driver.

For example in this patch http://www.mail-archive.com/linux-kernel-commits@blackfin.uclinux.org/msg03065.html. The post tells me that it has been tested with the S25FL128 but when I look at the patch it only includes s25sXX, s25lf128-00, s25lf128-01.

  • Could this LF just be a typo for FL or is that a different device?
  • Is it safe to just apply this patch to my Kernel or do I have to keep things in mind?
  • Or can I just add the Spansion device to the m25p80.c in the flash_info struct because it is a SPI device with a generic interface?
    static struct flash_info __devinitdata m25p_data [] = {
    }

I've added my own m25p80.c for clarity.