]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit572978ea8deb90a99b96a8c67caf19741d868358
treea01db6175241c36d1da14d021200fd53a5806313
parent3ad22509cbd625c6643dadafec4f9fe2c771c1dc
[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