Dear [email protected], In message <[email protected]> you wrote: > From: Sandeep Paulraj <[email protected]> > > This patch adds 4 BIT ECC support in the DaVinci NAND > driver. Tested on both the DM355 and DM365. > > V3 version of the patch resolves compilation warnings pointed to by > Scott Wood. These compilation warnings occur when 4 BIT ECC support > is not enabled
Such commetns must go _below_ the "---" line. > Signed-off-by: Sandeep Paulraj <[email protected]> > --- ^^^^^^^ This is where commetns belong. > For feature completeness this patch should be used along with > [PATCH v2] ARM: DaVinci DM355: Updating the DM355 EVM config > that i just sent to the mailing list > drivers/mtd/nand/davinci_nand.c | 283 > +++++++++++++++++++++++++++++- > include/asm-arm/arch-davinci/emif_defs.h | 10 + > 2 files changed, 291 insertions(+), 2 deletions(-) ... > +static u32 nand_davinci_4bit_readecc(struct mtd_info *mtd, unsigned int > ecc[4]) > +{ > + ecc[0] = emif_regs->NAND4BITECC1 & NAND_4BITECC_MASK; > + ecc[1] = emif_regs->NAND4BITECC2 & NAND_4BITECC_MASK; > + ecc[2] = emif_regs->NAND4BITECC3 & NAND_4BITECC_MASK; > + ecc[3] = emif_regs->NAND4BITECC4 & NAND_4BITECC_MASK; Please use I/O accessors. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Celestial navigation is based on the premise that the Earth is the center of the universe. The premise is wrong, but the navigation works. An incorrect model can be a useful tool. - Kelvin Throop III _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

