Skip to contentSkip to conversation

powerpc unlock cache difference between e300 and e500

U-Boot YiChao Ma 3 participants 3 messages Jan 6, 2011 – Jan 7, 2011

lore
Share & tools
lore

YiChao Ma

author
#0 lore raw

hi:
My question is why e500 unlock_ram_in_cache in board.c ,and e300 unlock_ram_in_cache in bootm.c?

#1 lore raw

2011/1/6 YiChao Ma <[email protected]>:

Quoted 4 lines

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.

#2 lore raw
In reply to YiChao Ma
Quoted 2 lines · On Thu, 6 Jan 2011 11:11:21 +0800 YiChao Ma <[email protected]> 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