summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Schaeffer <daniel.schaeffer@timesys.com>2009-10-08 13:38:03 -0400
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2009-10-08 13:38:03 -0400
commit17a76fb2bd80ebf1dc17801c0fd14009d128e977 (patch)
tree42540e24424e31320e5a91d5b40c5cc0aca7fa40 /include
parent0d01165105959ee63c492cfe0bb3acf903c611a8 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-omap3/omap_gpmc.h15
1 files changed, 0 insertions, 15 deletions
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 */