The mpc7448hpc2 uses a tsi108-bridge. My board uses an IP on a FPGA.. I read the code of mpc7448_hpc2.c.<br>
It uses a ioremap in order to iniatilize the tsi108 registers. But I
have already initialized MMU with my registers in HEAD_32.S. Do I need
to use ioremap in setup_arch() ?<br><br>
<br>
<br>
<br><div><span class="gmail_quote">2008/8/18, Michael Ellerman <<a href="mailto:michael@ellerman.id.au">michael@ellerman.id.au</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2008-08-18 at 13:35 +0200, Sébastien Chrétien wrote:<br> > Can somebody explain me the aim of the function "setup_arch" in the<br> > machine_call structure ?<br> <br> <br>Is this MPC7448 anything like an mpc7448hpc2 ?<br>
<br> If so maybe you should start by looking at the code for it in:<br> <br> arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c<br> <br> Even if it's not related, that will give you some idea of what the<br> callbacks are for.<br>
<br> cheers<br> <br> --<br> Michael Ellerman<br> OzLabs, IBM Australia Development Lab<br> <br> wwweb: <a href="http://michael.ellerman.id.au">http://michael.ellerman.id.au</a><br> phone: +61 2 6212 1183 (tie line 70 21183)<br>
<br> We do not inherit the earth from our ancestors,<br> we borrow it from our children. - S.M.A.R.T Person<br> <br></blockquote></div><br>