Dear Baidu Boy, In message <aanlktimhafiutz0ju-dmghg3hc4u4muwyicak-h1n...@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: w...@denx.de The use of Microsoft crippleware systems is a sin that carries with it its own punishment. -- Tom Christiansen in <6bo3fr$pj...@csnews.cs.colorado.edu> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot