LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 10: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, 141 views)
 
  


Reply



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 04:48 AM
how to write spi driver for mpc8247 saheelahamed Linux - Software 1 02-20-2008 12:27 AM
What is MTD devices? HmmLinux Linux - Newbie 3 04-11-2006 12:39 AM
do i need mtd for my jumpdrive? slinky2004 Linux - Hardware 3 09-14-2005 09:49 PM
What are MTD Devices aditya Linux - Newbie 2 11-14-2002 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:39 AM.

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
Open Source Consulting | Domain Registration