diff options
| author | Tom Rini <trini@konsulko.com> | 2017-11-30 10:38:40 -0500 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2017-11-30 10:38:40 -0500 |
| commit | 55e76b3c86d132ae1ca8f36728efdadef8588740 (patch) | |
| tree | 034ae424a1156092a39f63f158f5f73995748149 /drivers | |
| parent | 6ea51d286093aa21619cc2a55263caf1e9d5f340 (diff) | |
| parent | 01c541e0e698196ab29761fd29fd06f36185e03e (diff) | |
Merge git://git.denx.de/u-boot-marvell
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 6ab3c8a25a..cedbb239b6 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -233,6 +233,7 @@ static struct pxa3xx_nand_flash builtin_flash_types[] = { { 0xba20, 16, 16, &timing[3] }, }; +#ifdef CONFIG_SYS_NAND_USE_FLASH_BBT static u8 bbt_pattern[] = {'M', 'V', 'B', 'b', 't', '0' }; static u8 bbt_mirror_pattern[] = {'1', 't', 'b', 'B', 'V', 'M' }; @@ -255,6 +256,7 @@ static struct nand_bbt_descr bbt_mirror_descr = { .maxblocks = 8, /* Last 8 blocks in each chip */ .pattern = bbt_mirror_pattern }; +#endif static struct nand_ecclayout ecc_layout_2KB_bch4bit = { .eccbytes = 32, |
