<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2> I met some problems when reading sourcecode of u-boot 1.1.4 (for mpc85xx)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>file /cpu/mpc85xx/start.s line 276</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>276. #if (CFG_CCSRBAR_DEFAULT != CFG_CCSRBAR)<BR>277. /* Special sequence needed to update CCSRBAR itself */<BR>278. lis r4, <A href="mailto:CFG_CCSRBAR_DEFAULT@h">CFG_CCSRBAR_DEFAULT@h</A><BR>279. ori r4, r4, <A href="mailto:CFG_CCSRBAR_DEFAULT@l">CFG_CCSRBAR_DEFAULT@l</A></FONT></DIV>
<DIV><FONT size=2>280.</FONT></DIV>
<DIV><FONT size=2>281. lis r5, <A href="mailto:CFG_CCSRBAR@h">CFG_CCSRBAR@h</A><BR>282. ori r5, r5, <A href="mailto:CFG_CCSRBAR@l">CFG_CCSRBAR@l</A><BR>283. srwi r6,r5,12<BR>284. stw r6, 0(r4)<BR>285. isync</FONT></DIV>
<DIV><FONT size=2>286.</FONT></DIV>
<DIV><FONT size=2>287. lis r5, 0xffff<BR>288. ori r5,r5,0xf000<BR>289. lwz r5, 0(r5)<BR>290. isync</FONT></DIV>
<DIV><FONT size=2>291.</FONT></DIV>
<DIV><FONT size=2>292. lis r3, <A href="mailto:CFG_CCSRBAR@h">CFG_CCSRBAR@h</A><BR>293. lwz r5, <A href="mailto:CFG_CCSRBAR@l(r3">CFG_CCSRBAR@l(r3</A>)<BR>294. isync<BR>295. #endif</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I think it means if we don't use default CCSRBAR, we put the CCSRBAR addr actually used to the proper place in default CCSRBAR, so that it can jump to the addr we want to automatically.(line 276-286).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>But, I don't know what line 287-294 does. Can some one tell me pls? </FONT></DIV>
<DIV><FONT size=2>Thanks for your help.</FONT> </DIV></DIV><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>
        <font color="black" style="font-size:14.8px">邮 箱 积 分,换 易 趣 现 金 购 物 券</font>
        <br>
         <a href="hhttp://adfarm.mediaplex.com/ad/ck/4080-41738-9511-6?cn=netease;textlink0822;pr;mailcoupon&mpro=http://minisite.163.com/2006/0815/ebay/coupon.htm" target="_blank" style="font-size:13px;line-height:160%;color:blue">30 邮 箱 积 分 = 现 金 30 元 , 50 元 , 99 元 立 刻 兑 换 > >
</a>