<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">
&gt;  # Object file lists.<br>
&gt; -obj-y   := cpu.o mm.o clock-mx51.o devices.o<br>
&gt; +obj-y   := cpu.o mm.o clock-mx51.o devices.o cpu_wp-mx51.o<br>
<br>
</div></div>By hardcoding cpu_wp-mx51 here, you are making the assumption that even if<br>
cpufreq is turned off, you&#39;ll still need the entire WP table to set the<br>
cpu frequency. Why can&#39;t this be handled transparently in the clock code? If<br>
the clock code does the calculations, every board doesn&#39;t need to first setup<br>
calls to get_cpu_wp.<br>
<div><div></div><br></div></blockquote></div><br>It has history. Not only cpufreq needs this  table, other freescale drivers also need it, like dvfs and busfreq drivers. So it is better to be there. I do agree clock should do its calculation by itself.<br>
Agree about the rest.<br>