summaryrefslogtreecommitdiff
path: root/include/configs/am335x_igep0033.h
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2013-11-22 16:53:27 +0530
committerScott Wood <scottwood@freescale.com>2014-03-04 17:23:54 -0600
commita7e36fc95fa2c915bb95e845c8945ca926575f5b (patch)
tree656c605689c9616922e28dba11df7f2616fdd907 /include/configs/am335x_igep0033.h
parent50899183c933e31b1a43de1c4cc7a9085a417d96 (diff)
downloadu-boot-imx-a7e36fc95fa2c915bb95e845c8945ca926575f5b.zip
u-boot-imx-a7e36fc95fa2c915bb95e845c8945ca926575f5b.tar.gz
u-boot-imx-a7e36fc95fa2c915bb95e845c8945ca926575f5b.tar.bz2
mtd: nand: omap: remove unused #defines from common omap_gpmc.h
OMAP NAND driver can detect Page-size and OOB-size of NAND device from ONFI params or nand_id[] table. And based on that it defines ECC layout. This patch 1) removes following board configs used for defining NAND ECC layout - GPMC_NAND_ECC_LP_x16_LAYOUT (for large page x16 NAND) - GPMC_NAND_ECC_LP_x8_LAYOUT (for large page x8 NAND) - GPMC_NAND_ECC_SP_x16_LAYOUT (for small page x16 NAND) - GPMC_NAND_ECC_SP_x8_LAYOUT (for small page x8 NAND) 2) removes unused #defines in common omap_gpmc.h depending on above configs Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5 Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'include/configs/am335x_igep0033.h')
-rw-r--r--include/configs/am335x_igep0033.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/am335x_igep0033.h b/include/configs/am335x_igep0033.h
index 115d1b3..c00d54f 100644
--- a/include/configs/am335x_igep0033.h
+++ b/include/configs/am335x_igep0033.h
@@ -188,7 +188,6 @@
#define CONFIG_NAND
#define CONFIG_NAND_OMAP_GPMC
#define CONFIG_NAND_OMAP_ELM
-#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
#define CONFIG_SYS_NAND_BASE (0x08000000) /* phys address CS0 */
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_ONFI_DETECTION 1