[U-Boot] the d-cache is not unlocked
Wolfgang Denk
wd at denx.de
Wed Nov 17 14:43:13 CET 2010
Dear Baidu Boy,
In message <AANLkTimhaFiutz0jU-dmGhG3Hc4u4muWyicaK-h1ngGr at mail.gmail.com> you wrote:
>
> For the e300 core, we can see the d-cache is locked as SRAM for the stack in
> start.S file by calling the function lock_ram_in_cache:
> -----------
> arch/powerpc/cpu/mpc83xx/start.S
> #ifdef CONFIG_SYS_INIT_RAM_LOCK
> bl lock_ram_in_cache
> sync
> #endif
> -----------
> But we do not unlock the 4-KB d-cache which we locked in start.S for e300
> -----------
> arch/powerpc/lib/board.c
> #if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
> unlock_ram_in_cache(); /* it's time to unlock D-cache in e500 */
> #endif
> -----------
I don't see a question in your message, so what exactly is the
pourpose of this posting?
If you suggest a change to the code, then please come up with a patch,
test it on your system(s) and submit it to the mailing list.
For details please see http://www.denx.de/wiki/U-Boot/Patches
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of Microsoft crippleware systems is a sin that carries with
it its own punishment.
-- Tom Christiansen in <6bo3fr$pj8$5 at csnews.cs.colorado.edu>
More information about the U-Boot
mailing list