[MTD] [NAND] cs553x_nand: command line partitioning support
authorMart Raudsepp <mart.raudsepp@artecdesign.ee>
Sat, 9 Feb 2008 08:16:36 +0000 (08:16 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 9 Feb 2008 08:21:31 +0000 (08:21 +0000)
commit641f43669fa28ca795ac4e9b3ec78643a007ee20
treea01db6175241c36d1da14d021200fd53a5806313
parentb1d0e4f535e10775cffde922208b49629169aeaa
[MTD] [NAND] cs553x_nand: command line partitioning support

Implements kernel command line partitioning support for the CS5535/CS5536 chipsets driver.

For that the following is done:

* cs553x_cleanup(): try the cleanup for all chip selects to not leak memory
* Assign a unique name for each chip select to be separately addressable in the command line mtd-id portion(s)
* Use the already defined PIN_OPT_IDE constant where appropriate for readability
* Include command line partitioning support when CONFIG_MTD_PARTS is set

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/cs553x_nand.c