<div>Thanx Tabi for your comments.</div>
<div>Sorry I was on leave for the last week, so could not reply in time.</div>
<div> </div>
<div>Shall make the changes you suggested and repost the patch.</div>
<div> </div>
<div>Regards</div>
<div>Poonam</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 12/11/07, <b class="gmail_sendername">Timur Tabi</b> <<a href="mailto:timur@freescale.com">timur@freescale.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Poonam_Aggrwal-b10812 wrote:<br><br>> + qe = of_find_node_by_type(NULL, "qe");
<br>> + if (qe) {<br>> + unsigned int size;<br>> + prop = of_get_property<br>> + (qe, "brg-frequency", &size);
<br>> + of_node_put(qe);<br>> + of_node_put(brg);<br>> + return *prop;<br>> + }<br><br>Only very recent versions of U-Boot set the brg-frequency property, so you need
<br>to check for situations where "*prop" is 0. If it is, then you need to take the<br>QE's bus-frequency property and divide it by two. See my ucc_uart driver for an<br>example.<br><br>And PowerPC-specific patches should not be cross-posted to linux-kernel.
<br><br>--<br>Timur Tabi<br>Linux kernel developer at Freescale<br>_______________________________________________<br>Linuxppc-dev mailing list<br><a href="mailto:Linuxppc-dev@ozlabs.org">Linuxppc-dev@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-dev">
https://ozlabs.org/mailman/listinfo/linuxppc-dev</a><br></blockquote></div><br>