[U-Boot] powerpc unlock cache difference between e300 and e500

2011-01-05 Thread YiChao Ma
hi: My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.c? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] problem on disable cache

2011-01-04 Thread YiChao Ma
hi: I have some question(problem) when i using D-cache.The mcu i use is mpc8308.I did a test like that. 1 Add cmd_cache in u-boot. 2 Disable D-cache,there is no problem.The D-cache is disabled and the u-boot still run. 3 Enable D-cache,U-boot is halt. Then i test by defined CONFIG_SYS_INIT_RAM_