summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2013-12-20 17:02:27 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-01-11 21:20:06 +0100
commita5900554a8b5fbc4fb731c6f9896ed265683f94e (patch)
tree7d4eaf624ac4d10d1a1d3e1e094f9df3d2d863d3 /drivers/md/md.h
parentmtd: nand: Update mtd.name assignment type to u64 for IFC, eLBC (diff)
downloadlinux-a5900554a8b5fbc4fb731c6f9896ed265683f94e.tar.xz
linux-a5900554a8b5fbc4fb731c6f9896ed265683f94e.zip
mtd: mxc-nand: kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
We kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE by the following way: 1.) Before we call the nand_scan_ident, we allocate a temporary buffer whose size is PAGE_SIZE. 2.) After we finish the nand_scan_ident, we have already getten the page size and oob size. We will allocate the right buffer size again. Signed-off-by: Huang Shijie <shijie8@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions