]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] [MAPS] Blackfin Async Flash Maps
authorMike Frysinger <vapier.adi@gmail.com>
Mon, 19 May 2008 10:32:24 +0000 (18:32 +0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 4 Jun 2008 16:57:23 +0000 (17:57 +0100)
commit2e3c22f57029ce04d55c07b8332ae405005456d9
tree97a4f23dc51ed63750bcd311cb52a51c6b0e5bb5
parent71a928c0e52cedc43747c64b96a5f74592ab678f
[MTD] [MAPS] Blackfin Async Flash Maps

Handle the case where flash memory and ethernet mac/phy are mapped onto
the same async bank

[try #4]
 - drop superfluous casts
 - drop SSYNC() when reading from the flash and rewrite
   bfin_copy_from() to be like bfin_copy_to() so that
   we dont have to handle all the aligned/unaligned cases

[try #3] rename bf5xx-flash to bfin-async-flash
 - move all kconfig board settings into board resources
 - fixup casting style according to lkml feedback
 - rewrite driver so that it can handle arbitrary of
   instances according to the declared platform resources

[try #2]
Remove useless SSYNC() as Will said

[try #1]
The BF533-STAMP does this for example.
All board-specific configuration goes in your board resources file.

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Acked-By: Jörn Engel <joern@logfs.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/maps/bfin-async-flash.c [new file with mode: 0644]