]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: replace the hardcode with the onfi_feature()
authorHuang Shijie <b32955@freescale.com>
Fri, 17 May 2013 03:17:30 +0000 (11:17 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Aug 2013 22:57:34 +0000 (15:57 -0700)
commitef090a940e586b8ce9e28e0d44a5ba9ba6f021c5
tree67388b518f7e484aeeb8b85495bf837cd2a8fece
parent92cf7897fedfd54949513fa95bc09deb9fb4e423
mtd: replace the hardcode with the onfi_feature()

The current code uses the hardcode to detect the 16-bit bus width.
Use the onfi_feature() to replace it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
[Brian: small fixup]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c