From 17a76fb2bd80ebf1dc17801c0fd14009d128e977 Mon Sep 17 00:00:00 2001 From: Daniel Schaeffer Date: Thu, 8 Oct 2009 13:38:03 -0400 Subject: This patch originally from LogicPD OMAP35x Release 1.6.1 Original Patch Name: u-boot-2009.03-lv-som-10-word-bad-block-marker.patch --- include/asm-arm/arch-omap3/omap_gpmc.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include') diff --git a/include/asm-arm/arch-omap3/omap_gpmc.h b/include/asm-arm/arch-omap3/omap_gpmc.h index 601f4b45ad..bd22bce837 100644 --- a/include/asm-arm/arch-omap3/omap_gpmc.h +++ b/include/asm-arm/arch-omap3/omap_gpmc.h @@ -48,29 +48,14 @@ /* Large Page x16 NAND device Layout */ #ifdef GPMC_NAND_ECC_LP_x16_LAYOUT -#ifdef CONFIG_OMAP3_LV_SOM -/* OMAP3_LV_SOM only uses first byte for bad block marker, not first - half-word */ #define GPMC_NAND_HW_ECC_LAYOUT {\ .eccbytes = 12,\ .eccpos = {2, 3, 4, 5, 6, 7, 8, 9,\ 10, 11, 12, 13},\ .oobfree = {\ - {.offset = 1,\ - .length = 1 }, \ {.offset = 14,\ .length = 50 } } \ } -#else -#define GPMC_NAND_HW_ECC_LAYOUT {\ - .eccbytes = 12,\ - .eccpos = {2, 3, 4, 5, 6, 7, 8, 9,\ - 10, 11, 12, 13},\ - .oobfree = {\ - {.offset = 14,\ - .length = 50 } } \ -} -#endif #endif /* Small Page x8 NAND device Layout */ -- cgit v1.2.3