summaryrefslogtreecommitdiffstats
path: root/board/overo
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2011-09-14 13:32:22 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:00:53 +0200
commit5213d24d7b73c6f8ea9e44e3d912936668ea846f (patch)
tree1cd35b3cce1f4d8e4d7ef80365fbd9fc49cce8a0 /board/overo
parent47e75d72bc1ced0e8fd3e3e231304bfaa3e86540 (diff)
downloadtalos-obmc-uboot-5213d24d7b73c6f8ea9e44e3d912936668ea846f.tar.gz
talos-obmc-uboot-5213d24d7b73c6f8ea9e44e3d912936668ea846f.zip
OMAP3: Overo: Update GPMC timing for ethernet chip
The existing timing does not quite meet the minimum requirements in the LAN9221 datasheet. The timing in this patch solves problems noticed on some parts. The patch also combines the CS configuration for the overo and igep0020 boards per request. Signed-off-by: Philip Balister <philip@opensdr.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/overo')
-rw-r--r--board/overo/overo.c1
-rw-r--r--board/overo/overo.h9
2 files changed, 1 insertions, 9 deletions
diff --git a/board/overo/overo.c b/board/overo/overo.c
index 4bbe1b87be..850dfeecd9 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -36,6 +36,7 @@
#include <asm/arch/mux.h>
#include <asm/arch/mem.h>
#include <asm/arch/sys_proto.h>
+#include <asm/arch/omap_gpmc.h>
#include <asm/gpio.h>
#include <asm/mach-types.h>
#include "overo.h"
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 68e1243e9c..57f24570a2 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -33,15 +33,6 @@ const omap3_sysinfo sysinfo = {
#endif
};
-/* GPMC CS 5 connected to an SMSC LAN9221 ethernet controller */
-#define NET_LAN9221_GPMC_CONFIG1 0x00001000
-#define NET_LAN9221_GPMC_CONFIG2 0x00080701
-#define NET_LAN9221_GPMC_CONFIG3 0x00020201
-#define NET_LAN9221_GPMC_CONFIG4 0x08030703
-#define NET_LAN9221_GPMC_CONFIG5 0x00060908
-#define NET_LAN9221_GPMC_CONFIG6 0x87030000
-#define NET_LAN9221_GPMC_CONFIG7 0x00000f6c
-
/*
* IEN - Input Enable
* IDIS - Input Disable
OpenPOWER on IntegriCloud