summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2011-10-28 10:33:07 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:03:07 +0800
commitca3cbc1704ef4541323ba21c27f393540a563272 (patch)
tree2f9be5db4814e0e68eee61a6e0afc1fd614aa121 /drivers/mtd
parent9dc3ae400176421e4a354b4653d6246cbabc78b1 (diff)
ENGR00160936 GPMI : disable the DDR code
We do not support any ONFI or TOGGLE nand now. So disable the DDR code. If keep it enabled, the ECC chunk will be 1K for ONFI nand, this is not compatible with the kobs-ng which uses 512bytes for ECC chunk size. So disable it now. change it in future. Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/gpmi-nfc/gpmi-nfc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mtd/nand/gpmi-nfc/gpmi-nfc.c b/drivers/mtd/nand/gpmi-nfc/gpmi-nfc.c
index 2be4036ca0c6..7decdc06f4e8 100644
--- a/drivers/mtd/nand/gpmi-nfc/gpmi-nfc.c
+++ b/drivers/mtd/nand/gpmi-nfc/gpmi-nfc.c
@@ -133,14 +133,6 @@ static inline int get_ecc_strength(struct gpmi_nfc_data *this)
bool is_ddr_nand(struct gpmi_nfc_data *this)
{
- struct nand_chip *chip = &this->mil.nand;
-
- /* ONFI nand */
- if (chip->onfi_version != 0)
- return true;
-
- /* TOGGLE nand */
-
return false;
}