summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-27 11:42:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-04 11:00:33 +0100
commit3cbe9b9ae936f4d43be5a792ea07ec27ca674ba0 (patch)
tree2b470ecaec3abeee3c37d7f450ed41516b7a6281 /drivers/mtd/nand/nand_imx.c
parent68bd6e930953d2a289adf3b141d3a33b93a1e580 (diff)
downloadbarebox-3cbe9b9ae936f4d43be5a792ea07ec27ca674ba0.tar.gz
barebox-3cbe9b9ae936f4d43be5a792ea07ec27ca674ba0.tar.xz
mtd: nand: replace NAND_USE_FLASH_BBT with NAND_BBT_USE_FLASH
To sync with the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_imx.c')
-rw-r--r--drivers/mtd/nand/nand_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index 842c1deb1c..d056c7c0d3 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -1227,7 +1227,7 @@ static int __init imxnd_probe(struct device_d *dev)
this->bbt_td = &bbt_main_descr;
this->bbt_md = &bbt_mirror_descr;
/* update flash based bbt */
- this->options |= NAND_USE_FLASH_BBT;
+ this->bbt_options |= NAND_BBT_USE_FLASH;
}
/* first scan to find the device and get the page size */