alistair23-linux/include/linux/mtd
Huang Shijie c41a0582d5 mtd: add a new ecc_step_size field to mtd_info{}
In order to implement the NAND boot for some Freescale's chips, such as
imx23/imx28/imx50/imx6, we use a tool (called kobs-ng) to burn the uboot
and some metadata to nand chip. And the ROM code will use the metadata to
configrate the BCH, and to find the uboot.

The ECC information(ecc step size, ecc strength) which is used to configrure
the BCH is part of the metadata. The kobs-ng can get the ecc strength from
the sys node /sys/*/ecc_strength now. But it can not get the ecc step size.

This patch adds a new field to store the ecc step size in mtd_info{}, and
it makes preparation for the next patches.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-30 21:37:01 +01:00
..
bbm.h mtd: nand: remove NAND_BBT_SCANEMPTY 2013-08-30 16:48:37 +01:00
blktrans.h mtd_blktrans_ops->release() should return void 2013-05-05 21:31:22 -04:00
cfi.h
cfi_endian.h
concat.h
doc2000.h mtd: diskonchip: use inline functions for DocRead/DocWrite 2012-11-16 10:57:38 +02:00
flashchip.h
fsmc.h mtd: nand: fsmc: update of OF support 2013-08-05 20:48:49 +01:00
ftl.h
gen_probe.h
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:53:08 +01:00
lpc32xx_slc.h mtd: lpc32xx_slc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:52:45 +01:00
map.h mtd: map: BUG() in non handled cases 2013-02-22 09:22:19 +02:00
mtd.h mtd: add a new ecc_step_size field to mtd_info{} 2013-08-30 21:37:01 +01:00
mtdram.h
nand-gpio.h
nand.h mtd: add ECC info for nand_flash_dev{} 2013-08-30 21:34:45 +01:00
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
partitions.h mtd: mtdparts: introduce mtd_get_device_size 2012-09-04 09:38:58 +03:00
pfow.h
physmap.h mtd: physmap: add const qualifiers 2013-04-05 13:02:40 +01:00
pismo.h
plat-ram.h mtd: plat-ram: add const quilifiers 2013-04-05 13:02:33 +01:00
qinfo.h
sh_flctl.h mtd: sh_flctl: Add DMA capabilty 2012-11-15 15:37:50 +02:00
sharpsl.h
spear_smi.h
super.h
ubi.h UBI: modify ubi_wl_flush function to clear work queue for a lnum 2012-05-21 11:34:41 +03:00
xip.h