summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali.h
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.com>2010-08-06 18:02:03 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-06 16:30:18 +0100
commitdb9a321049ead6424848b1040a714290d5df39d7 (patch)
tree952ba7180afaf4df44f86a2606be6eb5bf96235e /drivers/mtd/nand/denali.h
parent4c03bbdfed5497c3fed502226af1ef3fe8d23d08 (diff)
downloadtalos-obmc-linux-db9a321049ead6424848b1040a714290d5df39d7.tar.gz
talos-obmc-linux-db9a321049ead6424848b1040a714290d5df39d7.zip
mtd: denali: Remove set_ecc_config function
set_ecc_config function only set ECC_CORRECTION register, so move register setting to probe function. Since controller only support 15bit and 8bit ecc correction, updated nand ecc layout information. Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/denali.h')
-rw-r--r--drivers/mtd/nand/denali.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h
index fcac24199d12..bdf5c2af5000 100644
--- a/drivers/mtd/nand/denali.h
+++ b/drivers/mtd/nand/denali.h
@@ -767,6 +767,7 @@ struct denali_nand_info {
uint32_t fwblks; /* represent how many blocks FW used */
uint32_t totalblks;
uint32_t blksperchip;
+ uint32_t bbtskipbytes;
};
#endif /*_LLD_NAND_*/
OpenPOWER on IntegriCloud