From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 15 Mar 2010 12:27:50 -0500 Subject: [U-Boot] [PATCH] TI: Davinci: NAND Driver Cleanup In-Reply-To: <1268601271-3542-1-git-send-email-s-paulraj@ti.com> References: <1268601271-3542-1-git-send-email-s-paulraj@ti.com> Message-ID: <20100315172750.GA17448@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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