Re: Basic N800 support

Timo Teras
2007-02-07T06:10:35Z

Hi,

On Wed, Feb 07, 2007 at 02:16:58PM +0900, Kyungmin Park wrote:
> Finally it don't need to configure IOBE in omap2_onenand_wait
>
> #if 0
> /* Turn interrupts on */
> syscfg = omap2_onenand_readw(info->onenand.base +
> ONENAND_REG_SYS_CFG1);
> syscfg |= ONENAND_SYS_CFG1_IOBE;
> omap2_onenand_writew(syscfg, info->onenand.base +
> ONENAND_REG_SYS_CFG1);
> #endif
> #if 0
> /* Turn interrupts off */
> syscfg = omap2_onenand_readw(info->onenand.base +
> ONENAND_REG_SYS_CFG1);
> syscfg &= ~ONENAND_SYS_CFG1_IOBE;
> omap2_onenand_writew(syscfg, info->onenand.base +
> ONENAND_REG_SYS_CFG1);
> #endif

Yes, this is not strictly necessery. But we noticed that using polling
instead of interrupts for some operations give slightly better
performance.

Cheers,
Timo