]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: maps: bcm963xx-flash: make CFE partition parsing an mtd parser
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 5 Dec 2011 15:08:08 +0000 (16:08 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Tue, 6 Dec 2011 20:59:51 +0000 (22:59 +0200)
commit92cf194e4bad92c4da4fe2455cc31c25ab24468c
tree3691cac115fddfc0df234423170b29d541b3ec51
parentb8bc28495db8beb461a6ff9b47b3c35c5197de95
mtd: maps: bcm963xx-flash: make CFE partition parsing an mtd parser

Recent BCM63XX devices support a variety of flash types (parallel, SPI,
NAND) and share the partition layout. To prevent code duplication make
the CFE partition parsing code a stand alone mtd parser to allow SPI or
NAND flash drivers to use it.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/bcm63xxpart.c [new file with mode: 0644]
drivers/mtd/maps/Kconfig
drivers/mtd/maps/bcm963xx-flash.c