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>
This commit is contained in:
parent
25643d4da2
commit
35209cbcee
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user