summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2010-09-27 10:43:53 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 00:49:57 +0100
commit12a40a57f762f569f58a393437d8c13864db390a (patch)
tree2ab939b100ff7604422e31719fc1621e7b2f7ee3 /fs
parent088bd455c954c0c42edde9d4463e44be10101aac (diff)
downloadlinux-12a40a57f762f569f58a393437d8c13864db390a.tar.bz2
mtd: add init_size hook for NAND driver
Not all the NAND devices have all the information in additional id bytes. So add a hook in the nand_chip{} is a good method to calculate the right value of oobsize, erasesize and so on. Without the hook,you will get the wrong value, and you have to hack in the ->scan_bbt() to change the wrong value which make the code mess. Signed-off-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions