LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 07-30-2009, 11:04 AM   #1
luklem
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Question SPI Flash driver (mtd) for Spansion S25FL128P


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
Attached Files
File Type: txt m25p80.txt (13.5 KB, 21 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Special flash memory partition - MTD theChacalIsDead Linux - Embedded & Single-board computer 1 05-24-2009 05:48 AM
how to write spi driver for mpc8247 saheelahamed Linux - Software 1 02-20-2008 01:27 AM
What is MTD devices? HmmLinux Linux - Newbie 3 04-11-2006 01:39 AM
do i need mtd for my jumpdrive? slinky2004 Linux - Hardware 3 09-14-2005 10:49 PM
What are MTD Devices aditya Linux - Newbie 2 11-14-2002 06:40 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration