This patch adds network support for OMAP3 EVM.
- This patch adds network support for SMSC9118 net device.
- TFTP has problems with higher packet sizes and hence it has been reverted to 512.
Files changed with this patch :
drivers/net/Makefile | 1
drivers/net/smsc9118.c | 927 +++++++++++++++++++++++++++++++++++++++
drivers/net/smsc9118.h | 505 +++++++++++++++++++++
include/asm-arm/arch-omap3/i2c.h | 2
include/configs/omap3evm.h | 33 +
net/eth.c | 4
net/tftp.c | 2
7 files changed, 1471 insertions(+), 3 deletions(-)
diff -uprN omap3-uboot-patch1/omap3-uboot/u-boot-omap3/drivers/net/Makefile omap3-uboot/u-boot-omap3/drivers/net/Makefile
--- omap3-uboot-patch1/omap3-uboot/u-boot-omap3/drivers/net/Makefile 2008-07-10 10:17:30.000000000 +0530
+++ omap3-uboot/u-boot-omap3/drivers/net/Makefile 2008-07-09 09:07:07.000000000 +0530
@@ -66,6 +66,7 @@ COBJS-$(CONFIG_ULI526X) += uli526x.o
COBJS-$(CONFIG_VSC7385_ENET) += vsc7385.o
COBJS-$(CONFIG_XILINX_EMAC) += xilinx_emac.o
COBJS-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
+COBJS-$(CONFIG_DRIVER_SMSC9118) += smsc9118.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff -uprN omap3-uboot-patch1/omap3-uboot/u-boot-omap3/drivers/net/smsc9118.c omap3-uboot/u-boot-omap3/drivers/net/smsc9118.c
--- omap3-uboot-patch1/omap3-uboot/u-boot-omap3/drivers/net/smsc9118.c 1970-01-01 05:30:00.000000000 +0530
+++ omap3-uboot/u-boot-omap3/drivers/net/smsc9118.c 2008-07-10 15:38:57.000000000 +0530
@@ -0,0 +1,927 @@
+/*--------------------------------------------------------------------------
+//
+// File name: smsc9118.c
+//
+// Abstract: Driver for SMSC LAN9118 ethernet controller.
+//
+//
+// Start Automated RH
+// *** Do not edit between "Start Automated RH" and "End Automated RH" ***
+//
+// Copyright 2005, Seagate Technology LLC
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// Revision History
+//
+// *** Do not edit between "Start Automated RH" and "End Automated RH" ***
+// End Automated RH
+//
+//--------------------------------------------------------------------------*/
+/*---------------------------------------------------------------------------
+* Copyright(c) 2005-2006 SMSC