On Sat, Mar 28, 2009 at 06:38:59PM -0700, Mark A. Greer wrote:

> The da830 boots (initramfs) but the emac isn't working.  It may be a

FYI, Sekhar found the emac issue:

"Hi Mark,

You need to set version as well as rmii_en. I could get EMAC working on top
of your patches with the following changes.

Thanks,
Sekhar

diff --git a/arch/arm/mach-davinci/devices-da830.c b/arch/arm/mach-davinci/=
devices-da830.c
index 617181d..ba2df91 100644
--- a/arch/arm/mach-davinci/devices-da830.c
+++ b/arch/arm/mach-davinci/devices-da830.c
@@ -337,7 +337,8 @@ struct emac_platform_data da830_emac_pdata =3D {
        .ctrl_ram_offset        =3D DA830_EMAC_RAM_OFFSET,
        .mdio_reg_offset        =3D DA830_MDIO_REG_OFFSET,
        .ctrl_ram_size          =3D DA830_EMAC_CTRL_RAM_SIZE,
-       .version                =3D EMAC_VERSION_1,
+       .version                =3D EMAC_VERSION_2,
+       .rmii_en                =3D 1,
 };

 static struct platform_device da830_emac_device =3D {"

This change worked for me as well.

Mark
--

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to