mtd: brcmnand: factor out CFG and CFG_EXT bitfields
authorBrian Norris <computersforpeace@gmail.com>
Fri, 30 Oct 2015 06:59:19 +0000 (12:29 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 30 Oct 2015 18:50:34 +0000 (11:50 -0700)
commit3f06d2a912b55c53e9efbd799f7205dbfe041029
tree8676561b58b6cd83b87214519f9ab775dc9663c9
parent5a2415b0769233194f20d3906c3ffc6a2033317c
mtd: brcmnand: factor out CFG and CFG_EXT bitfields

Use enum instead of magic numbers for CFG and CFG_EXT bitfields.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Anup Patel <anup.patel@broadcom.com>
drivers/mtd/nand/brcmnand/brcmnand.c