[U-Boot] Build error in davinci_emac driver

Hiremath, Vaibhav hvaibhav at ti.com
Mon Aug 1 16:23:18 CEST 2011


Sandeep,

Few of your commits will not allow using davinci_emac driver for non-davinci family of devices. For example,

commit 840f8923a076b02b983cf58c9466b5bdf5957133
Author: Sandeep Paulraj <s-paulraj at ti.com>
Date:   Tue Dec 28 15:43:16 2010 -0500

    DaVinci DM6467: Added ET1011C (LSI) PHY support

This adds new file,
+COBJS-$(CONFIG_DRIVER_TI_EMAC) += lxt972.o dp83848.o et1011c.o

And also modifies the davinci_emac.x file for new API added in et1011c.c.


Ideally all the platform specific drivers should be part of some callback API and should not be hardcoded to driver file.

We will have to clean up this implementation, let me submit all other trivial patches first then I will come to this.

Thanks,
Vaibhav



More information about the U-Boot mailing list