On Wed, Nov 11, 2009 at 08:18:43PM +0100, Magnus Lilja wrote: > +#ifdef CONFIG_MX27 > +static int is_16bit_nand(void) > +{ > + struct system_control_regs *sc_regs = > + (struct system_control_regs *)IMX_SYSTEM_CTL_BASE; > + > + if (readl(&sc_regs->fmcr) & NF_16BIT_SEL) > + return 1; > + else > + return 0; > +} > +#elif defined(CONFIG_MX31) > +static int is_16bit_nand(void) > +{ > + struct clock_control_regs *sc_regs = > + (struct clock_control_regs *)CCM_BASE;
Maybe call the clock_control regs cc_regs? Otherwise ACK, assuming this is ARM-tree bound. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot