[PATCH] Boot XIP kernel for IMX

Jörn Engel joern at logfs.org
Mon Mar 3 08:22:46 EST 2008


On Thu, 28 February 2008 09:24:26 +0200, Darius wrote:
> +
> +/*
> +#define xip_irqpending()        ( IMX_NIPNDH || IMX_NIPNDL )
> +#define xip_currtime()          (IMX_TCN(IMX_TIM1_BASE))
> +#define xip_elapsed_since(x)    (signed)((IMX_TCN(IMX_TIM1_BASE) -(x)) * 31)
> +*/
> +
> +//#define xip_cpu_idle()  asm volatile ("mcr p14, 0, %0, c7, c0, 0" :: "r" (1))

Is there a reason to leave these bits in the patch?

Jörn

-- 
When people work hard for you for a pat on the back, you've got
to give them that pat.
-- Robert Heinlein



More information about the linux-mtd mailing list