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-07-20 13:16:50 +0800
commitad511c069a75dc1f7e36655106fc59552f0f8a10 (patch)
treea659f984e27cc8a5b263074165e996e19d2b11f6 /drivers/mtd
parent62ea5a2270a789252d147882d707ce1b01ac39f9 (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;
}