I'm currently developing software for an OMAP L-137 board. This board has a 4MB 25x32vfig Winbond SPI Flash device. The Kernel I'm using is the Linux-2.6.18_pro500.
The board where the Kernel has to run on in the future has a Spansion S25FL128P. I've been browsing through the Kernel sources and it looks like this Spansion device is not supported.
- Can anyone confirm me whether I'm right about this 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-ke.../msg03065.html
- 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 [] = {
}
Thank you in advance