[U-Boot] [PATCH 3/3] mpc83xx: turn on icache in core initialization to improve u-boot boot time

Timur Tabi timur.tabi at gmail.com
Tue Apr 20 03:39:06 CEST 2010


On Mon, Apr 19, 2010 at 4:37 PM, Kim Phillips
<kim.phillips at freescale.com> wrote:

>> That's not what I was asking.  The ITX was different from other 83xx
>> boards.  It doesn't define CONFIG_MPC83xx (and with this patch, it
>
> why doesn't it, btw?

It's been a while, but I believe the reason the ITX does not defined
CONFIG_MPC83xx is specifically so that this code:

#if defined(CONFIG_SYS_DELAYED_ICACHE) || defined(CONFIG_MPC83xx)
       icache_enable ();       /* it's time to enable the instruction cache */
#endif

is *not* executed.  That is, on the ITX, calling icache_enable() at
that point causes U-Boot to hang or crash.

Therefore, I don't think any 83xx cache-related patch is complete
until MPC8349ITX.h includes CONFIG_MPC83xx.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list