powerpc unlock cache difference between e300 and e500
hi:
My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.c?
2011/1/6 YiChao Ma <[email protected]>:
Quoted 4 lines
hi:
?My question is why e500unlock_ram_in_cacheinboard.c,and e300unlock_ram_in_cacheinbootm.c?
I also find this weeks ago.Maybe we can conmbine them.
Quoted 2 lines · On Thu, 6 Jan 2011 11:11:21 +0800 YiChao Ma <[email protected]> wrote:
hi:
My question is why e500unlock_ram_in_cacheinboard.c,and e300unlock_ram_in_cacheinbootm.c?
e500 uses the data cache for normal caching after it's done with the locked SRAM. e300 doesn't -- mainly as a matter of history and needing to fixing any bugs that pop up. So it only needs to unlock the cache sometime before transferring control to the OS.
-Scott