Merge branch 'master' into next
This commit is contained in:
commit
1528db0314
|
@ -41,16 +41,21 @@ config NAND_INFO
|
|||
Show informational strings about the vendor and nand flash type
|
||||
during startup
|
||||
|
||||
config NAND_READ_OOB
|
||||
bool
|
||||
|
||||
config NAND_BBT
|
||||
bool
|
||||
select NAND_READ_OOB
|
||||
default y
|
||||
prompt "support bad block tables"
|
||||
help
|
||||
Say y here to include support for bad block tables. This speeds
|
||||
up the process of checking for bad blocks
|
||||
|
||||
config NAND_READ_OOB
|
||||
config NAND_OOB_DEVICE
|
||||
bool
|
||||
select NAND_READ_OOB
|
||||
default y
|
||||
prompt "create a device for reading the OOB data"
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ static struct file_operations nand_ops = {
|
|||
.lseek = dev_lseek_default,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_NAND_READ_OOB
|
||||
#ifdef CONFIG_NAND_OOB_DEVICE
|
||||
static ssize_t nand_read_oob(struct cdev *cdev, void *buf, size_t count, ulong offset, ulong flags)
|
||||
{
|
||||
struct mtd_info *info = cdev->priv;
|
||||
|
|
Loading…
Reference in New Issue