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

6 Jan
2011
6 Jan
'11
4:11 a.m.
hi: My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.c?

7 Jan
7 Jan
12:42 p.m.
2011/1/6 YiChao Ma ycma@mail.ustc.edu.cn:
hi: My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.c?
I also find this weeks ago.Maybe we can conmbine them.

10:13 p.m.
On Thu, 6 Jan 2011 11:11:21 +0800 YiChao Ma ycma@mail.ustc.edu.cn wrote:
hi: My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.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
5239
Age (days ago)
5240
Last active (days ago)
2 comments
3 participants
participants (3)
-
Baidu Boy
-
Scott Wood
-
YiChao Ma