summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/omap_gpmc.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/omap_gpmc.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/omap_gpmc.h')
-rw-r--r--arch/arm/include/asm/omap_gpmc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/omap_gpmc.h b/arch/arm/include/asm/omap_gpmc.h
index 6ce5e65a8a..5250109a5b 100644
--- a/arch/arm/include/asm/omap_gpmc.h
+++ b/arch/arm/include/asm/omap_gpmc.h
@@ -9,8 +9,6 @@
#ifndef __ASM_OMAP_GPMC_H
#define __ASM_OMAP_GPMC_H
-#include <asm/arch/omap_gpmc.h>
-
#define GPMC_BUF_EMPTY 0
#define GPMC_BUF_FULL 1
OpenPOWER on IntegriCloud