mtd: FSMC NAND use the PrimeCell identifier macros
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 29 Nov 2010 12:52:19 +0000 (13:52 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:35:30 +0000 (16:35 +0000)
commit593cd8711221c9661dbf9beb2fb42fecca03e693
tree6f335d79b029a0e238f737b1cfb00b1fdba2ff63
parent4ad916bca7c372110815e77c2db95fb2eb2f8ab3
mtd: FSMC NAND use the PrimeCell identifier macros

The FSMC actually has a standard ARM PrimeCell ID register, and
the "revision" part of that register contains the thing that
the code is looking at. Reuse the infrastructure from the AMBA
bus abstraction and rid local defines.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c
include/linux/mtd/fsmc.h