davinci_nand, trivial : use symbolic ECC start command
authorBen Gardiner <bengardiner@nanometrics.ca>
Thu, 14 Oct 2010 21:26:17 +0000 (17:26 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Oct 2010 18:14:43 +0000 (20:14 +0200)
commit10d6ac94e0aa8bbbde45094e988c87ca971e1f10
tree0592320741ad5e7c92282eb4d4bb907b01c98e55
parent1a832dc4f8cd4cf899117ecab4821bdb9a4005bc
davinci_nand, trivial : use symbolic ECC start command

The ECC calculations were started by writing 1 << 13 to the nand FCR register;
that value is also defined as DAVINCI_NANDFCR_4BIT_CALC_START in emif_defs.h.

This patch substitutes the macro DAVINCI_NANDFCR_4BIT_CALC_START for the
magic number '1 << 13'.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/mtd/nand/davinci_nand.c