I am using a Micron SLC NAND MT29F1G16ABC flash, which doesn't support subpages. Running the mtd-test shows, that kernel expects to have subpages. Where do announce the kernel that flash has no subpages. There are lots of structs around, but I can't find the source of all and the setting. Help!
mtd_subpagetest: MTD device: 0
mtd_subpagetest: MTD device size 262144, eraseblock size 131072, page size 2048, subpage size 512, count of eraseblocks 0, pages per eraseblock 0, OOB size 64
mtd_subpagetest: scanning for bad eraseblocks
mtd_subpagetest: scanned 2 eraseblocks, 0 are bad
mtd_subpagetest: erasing whole device
mtd_subpagetest: erased 2 eraseblocks
mtd_subpagetest: writing whole device
mtd_subpagetest: error: write failed at 0x200
mtd_subpagetest: write size: 0x200
mtd_subpagetest: written: 0x0
mtd_subpagetest: error -5 occurred