Dear buddies:

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
-----------
-- 
Best Regards
Leo Liu
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to