diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-06-15 09:30:15 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-04 10:57:33 +0100 |
commit | dd02b67d5e9e7896891fa27eb5db65f55a290998 (patch) | |
tree | 9e7236232878a894cbb745d68411fe8f54e35ec4 /arch | |
parent | 68640c2a416849ba8e0a69577d4be51a458a045a (diff) |
mtd: mtdchar: fix mmap for MTD RAM/ROM char devices
For no-mmu systems mmap() on RAM/ROM devices already works
but for systems with mmu it probably was not tested and
doesn't work.
This patch allows using mmap() on MTD RAM/ROM devices on systems
with MMU. It has been tested on mpc5121e based platform with
MR0A16A MRAM device attached over LocalBus.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions