<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 8:37 AM, Patrick Georgi <span dir="ltr"><<a href="mailto:patrick@georgi-clan.de">patrick@georgi-clan.de</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;">
Am 24.09.2009 22:59, schrieb Myles Watson:<br>
<div class="im">> Based on that, here's a patch that changes drivers that aren't console,<br>
> pci, or cpu, to obj.<br>
><br>
> The most common one was mainboard.c as a driver.<br>
><br>
> Boot tested with Tyan s2895.<br>
><br>
> Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br>
</div>I updated the patch, with all the boards converted that appeared in<br>
Kconfig after this patch was made, too. There's not a single driver in<br>
src/mainboard left.<br>
<br>
Signed-off-by: Patrick Georgi <<a href="mailto:patrick.georgi@coresystems.de">patrick.georgi@coresystems.de</a>><br></blockquote><div> <br>Index: src/mainboard/roda/rk886ex/Makefile.inc<br>===================================================================<br>
--- src/mainboard/roda/rk886ex/Makefile.inc    (revision 5149)<br>+++ src/mainboard/roda/rk886ex/Makefile.inc    (working copy)<br>@@ -21,10 +21,10 @@<br> ## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.<br>
 ##<br> <br>-driver-y += mainboard.o<br>-driver-y += m3885.o<br>-driver-y += ec.o<br>-driver-y += rtl8168.o<br>+obj-y += mainboard.o<br>+obj-y += m3885.o<br>+obj-y += ec.o<br>+obj-y += rtl8168.o<br><br><br>It looks like rtl8168 should stay a driver, since it's a PCI device. I don't know about m3885.o and ec.o. I'm also not sure about the debug devices.  Are they considered PCI?  It's been a long time since I thought about this.<br>
<br>Thanks,<br>Myles <br> <br></div></div>