[U-Boot] [PATCH] TI: Davinci: NAND Driver Cleanup

Scott Wood scottwood at freescale.com
Mon Mar 15 18:27:50 CET 2010


On Sun, Mar 14, 2010 at 05:14:31PM -0400, s-paulraj at ti.com wrote:
> -	emif_regs->AB1CR = acfg1; /* CS2 */
> +	__raw_writel(acfg1, &emif_regs->AB1CR); /* CS2 */

Configuring for davinci_schmoogie board...
davinci_nand.c: In function ‘nand_flash_init’:
davinci_nand.c:586: error: ‘struct davinci_emif_regs’ has no member named ‘AB1CR’
make[1]: *** [davinci_nand.o] Error 1
make: *** [drivers/mtd/nand/libnand.a] Error 2

Should be lowercase?

Also, any particular reason to use the raw version of the accessors?

-Scott


More information about the U-Boot mailing list