summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap3/mem.h
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2013-11-22 16:53:26 +0530
committerScott Wood <scottwood@freescale.com>2014-03-04 17:23:04 -0600
commit50899183c933e31b1a43de1c4cc7a9085a417d96 (patch)
treeaaa70fc47f88ba595f1e0d6714a7f30e0dea5331 /arch/arm/include/asm/arch-omap3/mem.h
parent32f4d729e775e707d3ef11ef320d83aaa1ef6afb (diff)
downloadtalos-obmc-uboot-50899183c933e31b1a43de1c4cc7a9085a417d96.tar.gz
talos-obmc-uboot-50899183c933e31b1a43de1c4cc7a9085a417d96.zip
mtd: nand: omap: remove redundant platform specific header: arch-xx/omap_gpmc.h
Currently there are two sets of omap_gpmc.h header files (a) arch/arm/include/asm/omap_gpmc.h common header file for all platforms, containing defines and declarations used by GPMC NAND driver. (b) arch/arm/include/asm/arch-xx/omap_gpmc.h SoC platform specific header file containing defines like ECC layout. This patch removes platform specific arch-xx/omap_gpmc.c because: - GPMC hardware engine is common for all SoC platforms hence only (a) is enough - ECC layout is now defined in omap_nand.c driver itself based on ecc-scheme selected. Hence all ECC layout declarations in (b) are redundant. Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5 Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/mem.h')
-rw-r--r--arch/arm/include/asm/arch-omap3/mem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h
index bcc22c43e1..18041913c4 100644
--- a/arch/arm/include/asm/arch-omap3/mem.h
+++ b/arch/arm/include/asm/arch-omap3/mem.h
@@ -419,6 +419,16 @@ enum {
#define NET_GPMC_CONFIG6 0x00000FCF
#define NET_GPMC_CONFIG7 0x00000f6c
+/* GPMC CS configuration for an SMSC LAN9221 ethernet controller */
+#define NET_LAN9221_GPMC_CONFIG1 0x00001000
+#define NET_LAN9221_GPMC_CONFIG2 0x00060700
+#define NET_LAN9221_GPMC_CONFIG3 0x00020201
+#define NET_LAN9221_GPMC_CONFIG4 0x06000700
+#define NET_LAN9221_GPMC_CONFIG5 0x0006090A
+#define NET_LAN9221_GPMC_CONFIG6 0x87030000
+#define NET_LAN9221_GPMC_CONFIG7 0x00000f6c
+
+
/* max number of GPMC Chip Selects */
#define GPMC_MAX_CS 8
/* max number of GPMC regs */
OpenPOWER on IntegriCloud