[U-Boot-Users] question of codes in \cpu\74xx_7xx\cache.S

xiangguo_li at hotmail.com xiangguo_li at hotmail.com
Sat Nov 24 03:06:58 CET 2007


intercepted from \cpu\74xx_7xx\cache.S

/*
* Enable L1 Instruction cache
*/
_GLOBAL(icache_enable)
mfspr r3, HID0
li r5, HID0_ICFI|HID0_ILOCK
andc r3, r3, r5
ori r3, r3, HID0_ICE
ori r5, r3, HID0_ICFI
mtspr HID0, r5                    // this instruction is redundant,
mtspr HID0, r3                    // or this one?
isync
blr


-lxg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071124/c0d19dba/attachment.htm 


More information about the U-Boot mailing list