android_kernel_xiaomi_sm8350/drivers/mtd/nand
Huang Shijie 12a40a57f7 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>
2010-10-25 00:49:57 +01:00
..
alauda.c
ams-delta.c
atmel_nand_ecc.h
atmel_nand.c mtd: atmel_nand: fix warning: 'part_probes' defined but not used 2010-08-06 09:22:22 +01:00
au1550nd.c
autcpu12.c
bcm_umi_bch.c
bcm_umi_nand.c
bf5xx_nand.c mtd: Blackfin NFC: fix invalid free in remove() 2010-09-13 08:49:03 +01:00
cafe_nand.c
cmx270_nand.c
cs553x_nand.c
davinci_nand.c mtd: davinci: relax a timeout for ECC-initialization 2010-10-24 23:49:41 +01:00
denali.c mtd: nand: denali should also handle NAND_CMD_PARAM 2010-10-24 23:45:05 +01:00
denali.h nand/denali: use dev_xx debug function to replace nand_dbg_print and some printk 2010-08-11 00:28:40 +01:00
diskonchip.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
edb7312.c
fsl_elbc_nand.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
fsl_upm.c mtd: fix the build warning for fsl_upm.c 2010-10-24 23:52:39 +01:00
fsmc_nand.c mtd: generic FSMC NAND MTD driver 2010-10-25 00:33:48 +01:00
gpio.c
h1910.c
jz4740_nand.c MTD: Nand: Add JZ4740 NAND driver 2010-08-05 13:26:18 +01:00
Kconfig mtd: generic FSMC NAND MTD driver 2010-10-25 00:33:48 +01:00
Makefile mtd: generic FSMC NAND MTD driver 2010-10-25 00:33:48 +01:00
mpc5121_nfc.c mtd: mpc5121_nfc: fix memory leak on error path 2010-10-24 23:40:22 +01:00
mxc_nand.c mtd: mxc_nand: configure pages per block for v2 controller 2010-09-13 08:50:34 +01:00
nand_base.c mtd: add init_size hook for NAND driver 2010-10-25 00:49:57 +01:00
nand_bbt.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
nand_bcm_umi.c
nand_bcm_umi.h
nand_ecc.c
nand_ids.c mtd: nand: support new Toshiba SLC 2010-10-24 23:38:30 +01:00
nandsim.c mtd: nandsim: remove casts from void 2010-08-02 09:05:54 +01:00
ndfc.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
nomadik_nand.c
nuc900_nand.c
omap2.c omap3 nand: cleanup virtual address usages 2010-08-02 15:30:38 +03:00
orion_nand.c
pasemi_nand.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
plat_nand.c gen_nand: Test if nr_chips field is valid 2010-08-12 12:17:36 +01:00
ppchameleonevb.c
pxa3xx_nand.c mtd: pxa3xx_nand: set oob length in the runtime 2010-10-24 23:39:41 +01:00
r852.c mtd: r852: remove casts from void 2010-08-02 09:06:03 +01:00
r852.h
rtc_from4.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
s3c2410.c mtd: s3c nand: parsing command-line partitions prior to set->partitions 2010-08-02 09:08:13 +01:00
sh_flctl.c
sharpsl.c
sm_common.c mtd: sm_common: remove casts from void 2010-08-02 09:06:10 +01:00
sm_common.h
socrates_nand.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
spia.c
tmio_nand.c
txx9ndfmc.c