/dev/flash and MTD
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines
To enable MTD on a board, do we still need
/dev/flash?
No.
Quoted 3 lines
In other words, is there any relationship between
/dev/flashand MTD? I found that only on Denx distribution of 2.4.4 there is such a device '/dev/flash'. Thanks.
The /dev/flash device entries use a stand alone flash driver that isn't part of MTD.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 1 line · In message <[email protected]> you wrote:
To enable MTD on a board, do we still need
/dev/flash? In other words,
No, this is not needed for MTD. It's an alternative interface to access flash memory; we mostly keep it for compatibility with older projects, and because it provides some nice features like allowing to mmap() the flash (RO).
Quoted 2 lines
is there any relationship between
/dev/flashand MTD? I found that only on Denx distribution of 2.4.4 there is such a device '/dev/flash'. Thanks.
These are two independend solutions to the task of providing access to flash memory; MTD is superior when you also need a block device interface.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for
free*". - Linus Torvalds in <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/