<br><br><div class="gmail_quote">On Fri, Nov 14, 2008 at 9:24 AM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        static const u32 const * const dual_channel_slew_group_lookup[] = {<br>
        static const u32 const * const single_channel_slew_group_lookup[] = {<br>
/home/rminnich/coreboot-v3/build/coreboot.initram_partiallylinked.o:<br>
section .data.rel.ro.local: dual_channel_slew_group_lookup.3240<br>
single_channel_slew_group_lookup.3241<br>
<br>
what's it looking for here?</blockquote><div><br>I don't really have an answer, but I have a question:<br><br>Is it a types problem?<br><br>static const u32 nc[] = {...};<br>static const u32 const * const dual_channel_slew_group_lookup[] = { nc, nc };<br>
<br>I think maybe it doesn't like having unconstrained pointers with this many levels.  Could you try a typedef or something like that?  I was looking at southbridge/amd/cs5536/cs5536.c and they don't need nearly as many consts as you had.<br>
<br>I could be way off :)<br><br>Thanks,<br>Myles<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
ron<br>
p.s. const, const, const, const ==> spam, spam, spam, spam, spam,<br>
spam, spam, spam<br>
<font color="#888888"><br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</font></blockquote></div><br>