summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2009-10-20 16:58:17 +0800
committerScott Wood <scottwood@freescale.com>2009-11-13 16:56:18 -0600
commit35209cbceebe212a8c5ec17d552960f8bd4725f3 (patch)
tree2e229861b38b3e54ce3a624e9f08672ee3fe6d47
parent25643d4da257e51f6200b213c75de4fb5b345780 (diff)
downloadu-boot-imx-35209cbceebe212a8c5ec17d552960f8bd4725f3.zip
u-boot-imx-35209cbceebe212a8c5ec17d552960f8bd4725f3.tar.gz
u-boot-imx-35209cbceebe212a8c5ec17d552960f8bd4725f3.tar.bz2
fsl_elbc_nand: remove the bbt descriptors relocation fixup
The commit 66372fe2 manually relocated the bbt pattern pointer, which can be removed by using full relocation. Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
-rw-r--r--drivers/mtd/nand/fsl_elbc_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c
index 50cb4aa..146e9bf 100644
--- a/drivers/mtd/nand/fsl_elbc_nand.c
+++ b/drivers/mtd/nand/fsl_elbc_nand.c
@@ -766,9 +766,6 @@ int board_nand_init(struct nand_chip *nand)
nand->waitfunc = fsl_elbc_wait;
/* set up nand options */
- /* redirect the pointer of bbt pattern to RAM */
- bbt_main_descr.pattern = bbt_pattern;
- bbt_mirror_descr.pattern = mirror_pattern;
nand->bbt_td = &bbt_main_descr;
nand->bbt_md = &bbt_mirror_descr;
@@ -815,7 +812,6 @@ int board_nand_init(struct nand_chip *nand)
/* Large-page-specific setup */
if (or & OR_FCM_PGS) {
priv->page_size = 1;
- largepage_memorybased.pattern = scan_ff_pattern;
nand->badblock_pattern = &largepage_memorybased;
/* adjust ecc setup if needed */