Re: /dev/flash and MTD
From: Wolfgang Denk <hidden>
Date: 2002-08-09 19:33:08
In message [off-list ref] 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).
is there any relationship between /dev/flash and 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: wd@denx.de 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 [off-list ref] ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/