mtd: flash mapping support for Dreamcast VMU.
authorAdrian McMenamin <adrian@newgolddream.dyndns.info>
Wed, 4 Mar 2009 00:31:04 +0000 (00:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 10 Mar 2009 09:03:02 +0000 (18:03 +0900)
commit47a72688fae7298e1ad5fdc9bff7e04b6a549620
tree1fe911a7137c1b265bb4df2ccece5f20b35a8ed0
parent71b973a42c5456824c8712e00659d9616d395919
mtd: flash mapping support for Dreamcast VMU.

This patch adds support for the Sega Dreamcast visual memory unit as a
flash mapping. It requires changes in the maple bus driver (posted
separately) to support block reads and writes.

The VMU is a 'smart' flash device, with a built-in 8-bit controller -
for instance there is an erase before a write but it is hidden from the
user. But the device's overall behaviour means it works well with the
mtd layer and it is appropriate to add it as an mtd mapping.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/maps/vmu-flash.c [new file with mode: 0644]