[U-Boot] [PATCH v2] NAND: DaVinci: V2 Adding 4 BIT ECC support

Scott Wood scottwood at freescale.com
Tue Aug 18 18:04:41 CEST 2009


On Tue, Aug 18, 2009 at 10:10:42AM -0400, s-paulraj at ti.com wrote:
> From: Sandeep Paulraj <s-paulraj at ti.com>
> 
> This patch adds 4 BIT ECC support in the DaVinci NAND
> driver. Tested on both the DM355 and DM365.
> 
> 
> Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>

When I build with this patch, but without 4 bit enabled, I get this:

davinci_nand.c: In function ‘nand_davinci_4bit_correct_data’:
davinci_nand.c:292: warning: unused variable ‘this’
davinci_nand.c: At top level:
davinci_nand.c:208: warning: ‘nand_davinci_4bit_enable_hwecc’ defined but
not used
davinci_nand.c:242: warning: ‘nand_davinci_4bit_calculate_ecc’ defined
but not used
davinci_nand.c:291: warning: ‘nand_davinci_4bit_correct_data’ defined but
not used

We should only build the 4bit code when the board config has asked for
it.

-Scott


More information about the U-Boot mailing list