Hi, You are right, I checked u-boot from BSP 2.1.1.7 and BSP 2.1.3.11. Is there any reason to do thing in this way? I use the u-boot from BSP 1.0.0. Regards Wending >-----Original Message----- >From: Gary Thomas [mailto:gary@xxxxxxxxxxxx] >Sent: December 3, 2009 2:18 PM >To: Weng, Wending >Cc: 'Pandita, Vikram'; linux-omap@xxxxxxxxxxxxxxx; Tom >Subject: Re: u-boot for omap3 > > >>On 12/03/2009 11:57 AM, Weng, Wending wrote: >> Hi, >> >> In the u-boot for omap3evm I use, cleanup_before_linux(in cpu/omap3/cpu.c or cpu/arm_cortexa8/cpu.c) turns off L2 >> cache by mistake, it should not. This causes serious performance problem for me. >> >> The following line "#ifndef CONFIG_L2_OFF" should be "#ifdef CONFIG_L2_OFF". >> #ifndef CONFIG_L2_OFF >> /* turn off L2 cache */ >> l2cache_disable(); >> /* invalidate L2 cache also */ >> v7_flush_dcache_all(get_device_type()); >> #endif >Are you sure? The version I have re-enables the L2 cache just a >few lines below that: -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html